projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40957a9
)
mpegaudioparse: initialze bpf variable
author
Vineeth TM
<vineeth.tm@samsung.com>
Mon, 22 Jun 2015 04:13:29 +0000
(13:13 +0900)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Mon, 22 Jun 2015 09:57:35 +0000
(10:57 +0100)
bpf variable might be used in cleanup without being intialized.
https://bugzilla.gnome.org/show_bug.cgi?id=751306
gst/audioparsers/gstmpegaudioparse.c
patch
|
blob
|
history
diff --git
a/gst/audioparsers/gstmpegaudioparse.c
b/gst/audioparsers/gstmpegaudioparse.c
index
5372b39
..
88d31bf
100644
(file)
--- 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;