Signed-off-by: Michael Niedermayer <[email protected]>
---
libavcodec/decode.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 169ee79acd9..376e4a4d373 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -457,6 +457,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (ret == AVERROR(EAGAIN))
av_frame_unref(frame);
+ av_assert0(consumed != AVERROR(EAGAIN)); // code later will add
AVERROR(EAGAIN) to a pointer
if (consumed < 0)
ret = consumed;
if (consumed >= 0 && avctx->codec->type == AVMEDIA_TYPE_VIDEO)
--
2.17.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".