From be9c6045d0ad0f260d998fe4310a4c6ac6221903 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 18 Dec 2009 13:01:17 +0100 Subject: [PATCH] ac3parse: Fix unitialized variable. --- gst/audioparsers/gstac3parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioparsers/gstac3parse.c b/gst/audioparsers/gstac3parse.c index ccf20a15cf..ca1018abcf 100644 --- a/gst/audioparsers/gstac3parse.c +++ b/gst/audioparsers/gstac3parse.c @@ -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");