c93: signal EOF

pull/8/head
Piotr Bandurski 12 years ago committed by Paul B Mahol
parent 05b02e9c0f
commit 081bf60ec6
  1. 2
      libavformat/c93.c

@ -133,7 +133,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
}
if (c93->current_frame >= br->frames) {
if (c93->current_block >= 511 || !br[1].length)
return AVERROR(EIO);
return AVERROR_EOF;
br++;
c93->current_block++;
c93->current_frame = 0;

Loading…
Cancel
Save