changeset 8802:7b81aa80ec46 libavcodec

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
author diego
date Wed, 11 Feb 2009 14:55:24 +0000
parents 154d81241ac0
children 096ab16191a9
files qtrleenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/qtrleenc.c	Wed Feb 11 14:52:35 2009 +0000
+++ b/qtrleenc.c	Wed Feb 11 14:55:24 2009 +0000
@@ -116,7 +116,7 @@
     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;