diff options
author | Reimar Döffinger | 2009-10-02 06:42:20 +0000 |
---|---|---|
committer | Reimar Döffinger | 2009-10-02 06:42:20 +0000 |
commit | a7a9dd0eb642e5291c0ba672c6f17c870c5921a0 (patch) | |
tree | 7e7506e8d58b9eb552ddaaa018ca9a091c41c926 /libavformat/au.c | |
parent | c3db0bc61d83598d42a5a7bbc03377360ff81fb9 (diff) |
Return special EOF checking for aiff and au demuxers, the check was at
the wrong place, causing an empty packet to be read before EOF was
detected and the eof detection is already now handled by av_get_packet anyway.
Originally committed as revision 20138 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/au.c')
-rw-r--r-- | libavformat/au.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/au.c b/libavformat/au.c index 3b8faae272..24bdb62c7c 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -164,8 +164,6 @@ static int au_read_packet(AVFormatContext *s, { int ret; - if (url_feof(s->pb)) - return AVERROR(EIO); ret= av_get_packet(s->pb, pkt, MAX_SIZE); if (ret < 0) return ret; |