[FFmpeg-cvslog] r17154 - trunk/libavcodec/eatgv.c
diego
subversion
Wed Feb 11 15:52:35 CET 2009
Author: diego
Date: Wed Feb 11 15:52:35 2009
New Revision: 17154
Log:
Add av_uninit macro to variable to avoid false positive warning:
libavcodec/eatgv.c: In function ?tgv_decode_frame?:
libavcodec/eatgv.c:66: warning: ?offset? may be used uninitialized in this function
Modified:
trunk/libavcodec/eatgv.c
Modified: trunk/libavcodec/eatgv.c
==============================================================================
--- trunk/libavcodec/eatgv.c Wed Feb 11 13:02:16 2009 (r17153)
+++ trunk/libavcodec/eatgv.c Wed Feb 11 15:52:35 2009 (r17154)
@@ -63,7 +63,7 @@ static av_cold int tgv_decode_init(AVCod
*/
static int unpack(const uint8_t *src, const uint8_t *src_end, unsigned char *dst, int width, int height) {
unsigned char *dst_end = dst + width*height;
- int size,size1,size2,offset,run;
+ int size, size1, size2, av_uninit(offset), run;
unsigned char *dst_start = dst;
if (src[0] & 0x01)
More information about the ffmpeg-cvslog
mailing list