mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-10-06 10:13:47 +02:00
Fix return value on EOF in mpc v8 demuxer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a1526cd78f
commit
7ec5ea437f
@ -264,7 +264,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
return AVERROR(EIO);
|
return AVERROR(EIO);
|
||||||
mpc8_handle_chunk(s, tag, pos, size);
|
mpc8_handle_chunk(s, tag, pos, size);
|
||||||
}
|
}
|
||||||
return 0;
|
return AVERROR_EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
|
static int mpc8_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
|
||||||
|
Loading…
Reference in New Issue
Block a user