[SCM] libav/experimental: Remove url_feof check that would be triggered only after incorrectly producing an empty packet and also av_get_packet already handles EOF now.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:52:24 UTC 2013


The following commit has been merged in the experimental branch:
commit fbc6630168f05ffc281594a02b7347a361bfc5b9
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Fri Oct 2 07:05:52 2009 +0000

    Remove url_feof check that would be triggered only after incorrectly producing
    an empty packet and also av_get_packet already handles EOF now.
    
    Originally committed as revision 20140 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/wav.c b/libavformat/wav.c
index 081eb78..9487fc3 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -247,8 +247,6 @@ static int wav_read_packet(AVFormatContext *s,
     AVStream *st;
     WAVContext *wav = s->priv_data;
 
-    if (url_feof(s->pb))
-        return AVERROR(EIO);
     st = s->streams[0];
 
     left = wav->data_end - url_ftell(s->pb);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list