summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/decode/vd_lavc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index dd80603433..42b7b959cb 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -977,7 +977,7 @@ static int do_send_packet(struct mp_filter *vd, struct demux_packet *pkt)
return AVERROR_UNKNOWN;
if (avctx->skip_frame == AVDISCARD_ALL)
- return AVERROR(EAGAIN);
+ return 0;
AVPacket avpkt;
mp_set_av_packet(&avpkt, pkt, &ctx->codec_timebase);