Browse Source

bit: return AVERROR_EOF on eof.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
fc9d6035c3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/bit.c

+ 1
- 1
libavformat/bit.c View File

@@ -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…
Cancel
Save