lavf/mpeg: use FFERROR_REDO instead of AVERROR(EAGAIN).

pull/162/merge
Nicolas George 9 years ago
parent 0bac7a436b
commit cb14d30240
  1. 2
      libavformat/mpeg.c

@ -256,7 +256,7 @@ redo:
if (avio_feof(s->pb))
return AVERROR_EOF;
// FIXME we should remember header_state
return AVERROR(EAGAIN);
return FFERROR_REDO;
}
if (startcode == PACK_START_CODE)

Loading…
Cancel
Save