aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-02 07:05:52 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2009-10-02 07:05:52 +0000
commitfbc6630168f05ffc281594a02b7347a361bfc5b9 (patch)
tree61d7464bd2292fe5d45423785ce3165ad0f99e2e /libavformat
parent8a62a378de2f762e19dbb1ab5d5d27dafa833ee8 (diff)
downloadffmpeg-fbc6630168f05ffc281594a02b7347a361bfc5b9.tar.gz
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/wav.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c
index 081eb78698..9487fc3e7a 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);