[FFmpeg-cvslog] r17155 - trunk/libavcodec/qtrleenc.c

diego subversion
Wed Feb 11 15:55:24 CET 2009


Author: diego
Date: Wed Feb 11 15:55:24 2009
New Revision: 17155

Log:
Add av_uninit macro to variable to avoid false positive warning:
libavcodec/qtrleenc.c: In function ?qtrle_encode_frame?:
libavcodec/qtrleenc.c:113: warning: ?bulkcount? may be used uninitialized in this function

Modified:
   trunk/libavcodec/qtrleenc.c

Modified: trunk/libavcodec/qtrleenc.c
==============================================================================
--- trunk/libavcodec/qtrleenc.c	Wed Feb 11 15:52:35 2009	(r17154)
+++ trunk/libavcodec/qtrleenc.c	Wed Feb 11 15:55:24 2009	(r17155)
@@ -116,7 +116,7 @@ static void qtrle_encode_line(QtrleEncCo
     unsigned int skipcount;
     /* This will be the number of consecutive equal pixels in the current
      * frame, starting from the ith one also */
-    unsigned int repeatcount;
+    unsigned int av_uninit(repeatcount);
 
     /* The cost of the three different possibilities */
     int total_bulk_cost;




More information about the ffmpeg-cvslog mailing list