From 331fca4dfbf1a398cf5a4792e3b42fa0954301a5 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 22 Jun 2015 13:13:29 +0900 Subject: [PATCH] mpegaudioparse: initialze bpf variable bpf variable might be used in cleanup without being intialized. https://bugzilla.gnome.org/show_bug.cgi?id=751306 --- gst/audioparsers/gstmpegaudioparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioparsers/gstmpegaudioparse.c b/gst/audioparsers/gstmpegaudioparse.c index 5372b39bdc..88d31bfe4d 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;