diff --git a/libavcodec/mjpeg.c b/libavcodec/mjpeg.c index f62891e244cfd9f624bf0454b8229fce1d22b4ab..7ca16010862466a4f4e2ae0eaeb84ca778366895 100644 --- a/libavcodec/mjpeg.c +++ b/libavcodec/mjpeg.c @@ -1283,7 +1283,7 @@ static int mjpeg_decode_frame(AVCodecContext *avctx, while (src<buf_end) { - unsigned char *x = *(src++); + unsigned char x = *(src++); *(dst++) = x; if (x == 0xff)