matroska: Fix unitialized variable

This commit is contained in:
Edward Hervey 2010-06-15 17:20:20 +02:00
parent 6869411030
commit 342543325b

View file

@ -194,7 +194,7 @@ gst_ebml_read_clear (GstEbmlRead * ebml)
static const guint8 * static const guint8 *
gst_ebml_read_peek (GstByteReader * br, guint peek) 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))) if (G_LIKELY (gst_byte_reader_peek_data (br, peek, &data)))
return data; return data;
@ -252,7 +252,7 @@ gst_ebml_read_master (GstEbmlRead * ebml, guint32 * id)
{ {
guint64 length; guint64 length;
guint prefix; guint prefix;
const guint8 *data; const guint8 *data = NULL;
GstFlowReturn ret; GstFlowReturn ret;
GstEbmlMaster m; GstEbmlMaster m;