[0.11] gst-plugins-good: ac3parse: fix obvious crash
René Stadler
cymacs at kemper.freedesktop.org
Mon Oct 31 10:40:51 PDT 2011
Module: gst-plugins-good
Branch: 0.11
Commit: cf771ab7ae0c5e5836436515f13bae31b3c55629
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=cf771ab7ae0c5e5836436515f13bae31b3c55629
Author: René Stadler <rene.stadler at collabora.co.uk>
Date: Mon Oct 31 18:38:55 2011 +0100
ac3parse: fix obvious crash
---
gst/audioparsers/gstac3parse.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/gst/audioparsers/gstac3parse.c b/gst/audioparsers/gstac3parse.c
index 644a939..608fc93 100644
--- a/gst/audioparsers/gstac3parse.c
+++ b/gst/audioparsers/gstac3parse.c
@@ -500,6 +500,7 @@ gst_ac3_parse_check_valid_frame (GstBaseParse * parse,
if (G_UNLIKELY (size < 6))
goto cleanup;
+ gst_byte_reader_init (&reader, data, size);
off = gst_byte_reader_masked_scan_uint32 (&reader, 0xffff0000, 0x0b770000,
0, size);
More information about the gstreamer-commits
mailing list