mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
bit: return AVERROR_EOF on eof.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a2f27818b5
commit
fc9d6035c3
@ -68,7 +68,7 @@ static int read_packet(AVFormatContext *s,
|
||||
int i, j, ret;
|
||||
|
||||
if(url_feof(pb))
|
||||
return AVERROR(EIO);
|
||||
return AVERROR_EOF;
|
||||
|
||||
sync = get_le16(pb); // sync word
|
||||
packet_size = get_le16(pb) / 8;
|
||||
|
Loading…
Reference in New Issue
Block a user