summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2010-06-15 17:20:20 +0200
committerEdward Hervey <bilboed@bilboed.com>2010-06-15 17:20:20 +0200
commit342543325bd9820e2dbde2fdadda0723bb8de49c (patch)
tree9364cf2f53ef13b1bd6fd8c4bca5a8dbb6d73bff
parent6869411030c0786aba9198f93bc3ed6938f93147 (diff)
matroska: Fix unitialized variable
-rw-r--r--gst/matroska/ebml-read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/matroska/ebml-read.c b/gst/matroska/ebml-read.c
index 2a62f24e4..4b1ae795d 100644
--- a/gst/matroska/ebml-read.c
+++ b/gst/matroska/ebml-read.c
@@ -194,7 +194,7 @@ gst_ebml_read_clear (GstEbmlRead * ebml)
static const guint8 *
gst_ebml_read_peek (GstByteReader * br, guint peek)
{
- const guint8 *data;
+ const guint8 *data = NULL;
if (G_LIKELY (gst_byte_reader_peek_data (br, peek, &data)))
return data;
@@ -252,7 +252,7 @@ gst_ebml_read_master (GstEbmlRead * ebml, guint32 * id)
{
guint64 length;
guint prefix;
- const guint8 *data;
+ const guint8 *data = NULL;
GstFlowReturn ret;
GstEbmlMaster m;