mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-14 22:22:59 +02:00
bfi: signal EOF
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8e6957964e
commit
425d0888c3
@ -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…
x
Reference in New Issue
Block a user