lavf/mpeg: use FFERROR_REDO instead of AVERROR(EAGAIN).
This commit is contained in:
@@ -256,7 +256,7 @@ redo:
|
|||||||
if (avio_feof(s->pb))
|
if (avio_feof(s->pb))
|
||||||
return AVERROR_EOF;
|
return AVERROR_EOF;
|
||||||
// FIXME we should remember header_state
|
// FIXME we should remember header_state
|
||||||
return AVERROR(EAGAIN);
|
return FFERROR_REDO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (startcode == PACK_START_CODE)
|
if (startcode == PACK_START_CODE)
|
||||||
|
|||||||
Reference in New Issue
Block a user