Browse Source

Fix return value on EOF in mpc v8 demuxer.

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

+ 1
- 1
libavformat/mpc8.c View File

@@ -264,7 +264,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
return AVERROR(EIO);
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)


Loading…
Cancel
Save