diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2012-11-21 16:57:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-21 23:22:38 +0100 |
commit | 425d0888c3e855dafbe7b4d8bcb1a337f5a33728 (patch) | |
tree | 16ce678557be8f02b1684f65caf800c6ab8488b6 | |
parent | 8e6957964e03c3c34bb7e507500685756d13cb19 (diff) | |
download | ffmpeg-425d0888c3e855dafbe7b4d8bcb1a337f5a33728.tar.gz |
bfi: signal EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/bfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/bfi.c b/libavformat/bfi.c index 0f0ec006c0..d26d848a15 100644 --- a/libavformat/bfi.c +++ b/libavformat/bfi.c @@ -113,7 +113,7 @@ static int bfi_read_packet(AVFormatContext * s, AVPacket * pkt) AVIOContext *pb = s->pb; int ret, audio_offset, video_offset, chunk_size, audio_size = 0; if (bfi->nframes == 0 || url_feof(pb)) { - return AVERROR(EIO); + return AVERROR_EOF; } /* If all previous chunks were completely read, then find a new one... */ |