[FFmpeg-cvslog] r20140 - trunk/libavformat/wav.c
reimar
subversion
Fri Oct 2 09:05:52 CEST 2009
Author: reimar
Date: Fri Oct 2 09:05:52 2009
New Revision: 20140
Log:
Remove url_feof check that would be triggered only after incorrectly producing
an empty packet and also av_get_packet already handles EOF now.
Modified:
trunk/libavformat/wav.c
Modified: trunk/libavformat/wav.c
==============================================================================
--- trunk/libavformat/wav.c Fri Oct 2 09:03:04 2009 (r20139)
+++ trunk/libavformat/wav.c Fri Oct 2 09:05:52 2009 (r20140)
@@ -247,8 +247,6 @@ static int wav_read_packet(AVFormatConte
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);
More information about the ffmpeg-cvslog
mailing list