Browse Source

bfi: signal EOF

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Piotr Bandurski Michael Niedermayer 13 years ago
parent
commit
425d0888c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/bfi.c

+ 1
- 1
libavformat/bfi.c View File

@@ -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... */


Loading…
Cancel
Save