Add av_uninit macro to variables to avoid false positive warnings:
[ffmpeg.git] / libavcodec / msrledec.c
index b49c19e095fb396cf8b436e5e9e02d61f04aff79..40fec312784da06114e3ec5b032635a1f085b58d 100644 (file)
@@ -135,8 +135,8 @@ static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, int de
     uint8_t *output, *output_end;
     const uint8_t* src = data;
     int p1, p2, line=avctx->height, pos=0, i;
     uint8_t *output, *output_end;
     const uint8_t* src = data;
     int p1, p2, line=avctx->height, pos=0, i;
-    uint16_t pix16;
-    uint32_t pix32;
+    uint16_t av_uninit(pix16);
+    uint32_t av_uninit(pix32);
 
     output = pic->data[0] + (avctx->height - 1) * pic->linesize[0];
     output_end = pic->data[0] + (avctx->height) * pic->linesize[0];
 
     output = pic->data[0] + (avctx->height - 1) * pic->linesize[0];
     output_end = pic->data[0] + (avctx->height) * pic->linesize[0];