[FFmpeg-cvslog] r23093 - trunk/libavfilter/vf_pad.c

bcoudurier subversion
Tue May 11 19:39:52 CEST 2010


Author: bcoudurier
Date: Tue May 11 19:39:52 2010
New Revision: 23093

Log:
silence gcc warning about potential uninitialized usage

Modified:
   trunk/libavfilter/vf_pad.c

Modified: trunk/libavfilter/vf_pad.c
==============================================================================
--- trunk/libavfilter/vf_pad.c	Tue May 11 19:25:18 2010	(r23092)
+++ trunk/libavfilter/vf_pad.c	Tue May 11 19:39:52 2010	(r23093)
@@ -100,7 +100,7 @@ static int config_input(AVFilterLink *in
     PadContext *pad = ctx->priv;
     const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[inlink->format];
     uint8_t rgba_color[4];
-    uint8_t rgba_map[4];
+    uint8_t rgba_map[4] = {0};
     int i, is_packed_rgb = 1;
 
     switch (inlink->format) {



More information about the ffmpeg-cvslog mailing list