From: Vineeth TM Date: Mon, 22 Jun 2015 04:13:29 +0000 (+0900) Subject: mpegaudioparse: initialze bpf variable X-Git-Tag: 1.19.3~509^2~3514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=331fca4dfbf1a398cf5a4792e3b42fa0954301a5;p=platform%2Fupstream%2Fgstreamer.git mpegaudioparse: initialze bpf variable bpf variable might be used in cleanup without being intialized. https://bugzilla.gnome.org/show_bug.cgi?id=751306 --- diff --git a/gst/audioparsers/gstmpegaudioparse.c b/gst/audioparsers/gstmpegaudioparse.c index 5372b39..88d31bf 100644 --- a/gst/audioparsers/gstmpegaudioparse.c +++ b/gst/audioparsers/gstmpegaudioparse.c @@ -606,7 +606,7 @@ gst_mpeg_audio_parse_handle_frame (GstBaseParse * parse, GstMpegAudioParse *mp3parse = GST_MPEG_AUDIO_PARSE (parse); GstBuffer *buf = frame->buffer; GstByteReader reader; - gint off, bpf; + gint off, bpf = 0; gboolean lost_sync, draining, valid, caps_change; guint32 header; guint bitrate, layer, rate, channels, version, mode, crc;