changeset 5257:7843c502822b libavformat

Remove url_feof check that would be triggered only after incorrectly producing an empty packet and also av_get_packet already handles EOF now.
author reimar
date Fri, 02 Oct 2009 07:05:52 +0000
parents 9f0e36645518
children 98cdc18246fe
files wav.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/wav.c	Fri Oct 02 07:03:04 2009 +0000
+++ b/wav.c	Fri Oct 02 07:05:52 2009 +0000
@@ -247,8 +247,6 @@
     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);