[FFmpeg-cvslog] r17223 - trunk/vhook/ppm.c

diego subversion
Sat Feb 14 12:49:54 CET 2009


Author: diego
Date: Sat Feb 14 12:49:54 2009
New Revision: 17223

Log:
Add av_uninit to variable declarations to fix the false positive warnings:
vhook/ppm.c:236: warning: 'out_height' may be used uninitialized in this function
vhook/ppm.c:235: warning: 'out_width' may be used uninitialized in this function
patch by Patrik Kullman, patrik yes nu

Modified:
   trunk/vhook/ppm.c

Modified: trunk/vhook/ppm.c
==============================================================================
--- trunk/vhook/ppm.c	Sat Feb 14 12:47:42 2009	(r17222)
+++ trunk/vhook/ppm.c	Sat Feb 14 12:49:54 2009	(r17223)
@@ -232,8 +232,8 @@ void Process(void *ctx, AVPicture *pictu
     AVPicture picture1;
     AVPicture picture2;
     AVPicture *pict = picture;
-    int out_width;
-    int out_height;
+    int av_uninit(out_width);
+    int av_uninit(out_height);
     int i;
     uint8_t *ptr = NULL;
     FILE *in = rwpipe_reader( ci->rw );




More information about the ffmpeg-cvslog mailing list