You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
bit: return AVERROR_EOF on eof.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -68,7 +68,7 @@ static int read_packet(AVFormatContext *s,
|
|||||||
int i, j, ret;
|
int i, j, ret;
|
||||||
|
|
||||||
if(url_feof(pb))
|
if(url_feof(pb))
|
||||||
return AVERROR(EIO);
|
return AVERROR_EOF;
|
||||||
|
|
||||||
sync = get_le16(pb); // sync word
|
sync = get_le16(pb); // sync word
|
||||||
packet_size = get_le16(pb) / 8;
|
packet_size = get_le16(pb) / 8;
|
||||||
|
Reference in New Issue
Block a user