Commit fc9d6035 authored by Michael Niedermayer's avatar Michael Niedermayer

bit: return AVERROR_EOF on eof.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a2f27818
...@@ -68,7 +68,7 @@ static int read_packet(AVFormatContext *s, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment