From: Tim-Philipp Müller Date: Mon, 4 Apr 2011 22:41:16 +0000 (+0100) Subject: tag: fix compiler warning on OSX X-Git-Tag: 1.19.3~511^2~6555^2~1012 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f728ee397848bfd8981688bc440548d4cbe06299;p=platform%2Fupstream%2Fgstreamer.git tag: fix compiler warning on OSX gstvorbistag.c: In function 'gst_tag_list_from_vorbiscomment_buffer': gstvorbistag.c:371: warning: 'data' may be used uninitialized in this function --- diff --git a/gst-libs/gst/tag/gstvorbistag.c b/gst-libs/gst/tag/gstvorbistag.c index 4f16636e5e..400118bb1b 100644 --- a/gst-libs/gst/tag/gstvorbistag.c +++ b/gst-libs/gst/tag/gstvorbistag.c @@ -368,7 +368,7 @@ gst_vorbis_tag_add_metadata_block_picture (GstTagList * tags, guint32 img_len = 0, img_type = 0; guint32 img_mimetype_len = 0, img_description_len = 0; gsize decoded_len; - const guint8 *data; + const guint8 *data = NULL; /* img_data_base64 points to a temporary copy of the base64 encoded data, so * it's safe to do inpace decoding here