[gst-cvs] gst-plugins-good: matroskademux: Fix an uninitialized variable compiler warning

Sebastian Dröge slomo at kemper.freedesktop.org
Thu Jun 17 01:44:59 PDT 2010


Module: gst-plugins-good
Branch: master
Commit: 968ce701a73c4c997ca92c1550adf0a989423031
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=968ce701a73c4c997ca92c1550adf0a989423031

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Thu Jun 17 10:44:33 2010 +0200

matroskademux: Fix an uninitialized variable compiler warning

---

 gst/matroska/matroska-demux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 1bb5e54..1b34b9f 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -6442,6 +6442,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
         guint obj_type, freq_index, explicit_freq_bytes = 0;
 
         codec_id = GST_MATROSKA_CODEC_ID_AUDIO_AAC_MPEG4;
+        mpegversion = 4;
         freq_index = (GST_READ_UINT16_BE (context->codec_priv) & 0x780) >> 7;
         obj_type = (GST_READ_UINT16_BE (context->codec_priv) & 0xF800) >> 11;
         if (freq_index == 15)





More information about the Gstreamer-commits mailing list