diff --git a/libavcodec/decode.c b/libavcodec/decode.c index e4f6a0d727..8aa27095b6 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -590,7 +590,7 @@ static int compat_decode(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *pkt) { AVCodecInternal *avci = avctx->internal; - int ret; + int ret = 0; av_assert0(avci->compat_decode_consumed == 0);