Commit 55d672b2 authored by reimar's avatar reimar

Remove url_feof check that would be triggered only after incorrectly producing

an empty packet and also av_get_packet already handles EOF now.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20140 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 272ef342
...@@ -247,8 +247,6 @@ static int wav_read_packet(AVFormatContext *s, ...@@ -247,8 +247,6 @@ static int wav_read_packet(AVFormatContext *s,
AVStream *st; AVStream *st;
WAVContext *wav = s->priv_data; WAVContext *wav = s->priv_data;
if (url_feof(s->pb))
return AVERROR(EIO);
st = s->streams[0]; st = s->streams[0];
left = wav->data_end - url_ftell(s->pb); left = wav->data_end - url_ftell(s->pb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment