# HG changeset patch # User diego # Date 1234364124 0 # Node ID 7b81aa80ec46a25f359b0822da16f0d4b3e6b098 # Parent 154d81241ac0fa158b8eb52e8e8df80822a80ae3 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 diff -r 154d81241ac0 -r 7b81aa80ec46 qtrleenc.c --- 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;