mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
lavf/lxfdec: use FFERROR_REDO instead of AVERROR(EAGAIN).
This commit is contained in:
parent
cb14d30240
commit
eb2e4fb674
@ -305,7 +305,7 @@ static int lxf_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
if (stream > 1) {
|
if (stream > 1) {
|
||||||
av_log(s, AV_LOG_WARNING,
|
av_log(s, AV_LOG_WARNING,
|
||||||
"got packet with illegal stream index %"PRIu32"\n", stream);
|
"got packet with illegal stream index %"PRIu32"\n", stream);
|
||||||
return AVERROR(EAGAIN);
|
return FFERROR_REDO;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (stream == 1 && s->nb_streams < 2) {
|
if (stream == 1 && s->nb_streams < 2) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user