ac3parse: Fix unitialized variable.
authorEdward Hervey <bilboed@bilboed.com>
Fri, 18 Dec 2009 12:01:17 +0000 (13:01 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:07:02 +0000 (18:07 +0100)
gst/audioparsers/gstac3parse.c

index ccf20a1..ca1018a 100644 (file)
@@ -420,7 +420,7 @@ gst_ac3_parse_check_valid_frame (GstBaseParse * parse, GstBuffer * buf,
   drain = gst_base_parse_get_drain (parse);
 
   if (!sync && !drain) {
-    guint16 word;
+    guint16 word = 0;
 
     GST_DEBUG_OBJECT (ac3parse, "resyncing; checking next frame syncword");