diff --git a/libavcodec/scpr.c b/libavcodec/scpr.c index cf511f83cc..750cf59fe4 100644 --- a/libavcodec/scpr.c +++ b/libavcodec/scpr.c @@ -372,7 +372,7 @@ static int decompress_p(AVCodecContext *avctx, { SCPRContext *s = avctx->priv_data; GetByteContext *gb = &s->gb; - int ret, temp, min, max, x, y, cx = 0, cx1 = 0; + int ret, temp = 0, min, max, x, y, cx = 0, cx1 = 0; int backstep = linesize - avctx->width; if (bytestream2_get_byte(gb) == 0)