mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
matroska: Fix unitialized variable
This commit is contained in:
parent
6869411030
commit
342543325b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue