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

This commit is contained in:
Nicolas George 2015-11-27 18:58:38 +01:00
parent 0bac7a436b
commit cb14d30240

View File

@ -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)