summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-12-18 13:01:17 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-12-18 13:01:17 +0100
commit83c7b38a106ea0b4cc0c909cf755ff847ea15e9f (patch)
tree910bd350a8e5b4684229d37e0a126d7d0edd62cf
parent87bfdef68379eafefc27b1c413942697f0bac8ee (diff)
ac3parse: Fix unitialized variable.
-rw-r--r--gst/audioparsers/gstac3parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/audioparsers/gstac3parse.c b/gst/audioparsers/gstac3parse.c
index ccf20a15c..ca1018abc 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");