[FFmpeg-cvslog] bfi: signal EOF

Piotr Bandurski git at videolan.org
Wed Nov 21 23:37:05 CET 2012


ffmpeg | branch: master | Piotr Bandurski <ami_stuff at o2.pl> | Wed Nov 21 16:57:50 2012 +0100| [425d0888c3e855dafbe7b4d8bcb1a337f5a33728] | committer: Michael Niedermayer

bfi: signal EOF

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=425d0888c3e855dafbe7b4d8bcb1a337f5a33728
---

 libavformat/bfi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/bfi.c b/libavformat/bfi.c
index 0f0ec00..d26d848 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... */



More information about the ffmpeg-cvslog mailing list