[FFmpeg-cvslog] r17156 - trunk/libavcodec/msrledec.c
diego
subversion
Wed Feb 11 15:57:43 CET 2009
Author: diego
Date: Wed Feb 11 15:57:42 2009
New Revision: 17156
Log:
Add av_uninit macro to variables to avoid false positive warnings:
libavcodec/msrledec.c: In function ?ff_msrle_decode?:
libavcodec/msrledec.c:139: warning: ?pix32? may be used uninitialized in this function
libavcodec/msrledec.c:138: warning: ?pix16? may be used uninitialized in this function
Modified:
trunk/libavcodec/msrledec.c
Modified: trunk/libavcodec/msrledec.c
==============================================================================
--- trunk/libavcodec/msrledec.c Wed Feb 11 15:55:24 2009 (r17155)
+++ trunk/libavcodec/msrledec.c Wed Feb 11 15:57:42 2009 (r17156)
@@ -135,8 +135,8 @@ static int msrle_decode_8_16_24_32(AVCod
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];
More information about the ffmpeg-cvslog
mailing list