Browse Source

avformat/mpc8: do not return error on stream end

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n4.0
Paul B Mahol 8 years ago
parent
commit
a8a751ce9a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpc8.c

+ 1
- 1
libavformat/mpc8.c View File

@@ -297,7 +297,7 @@ static int mpc8_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
if(tag == TAG_STREAMEND)
return AVERROR(EIO);
return AVERROR_EOF;
mpc8_handle_chunk(s, tag, pos, size);
}
return AVERROR_EOF;


Loading…
Cancel
Save