matroskademux: Fix an uninitialized variable compiler warning
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 17 Jun 2010 08:44:33 +0000 (10:44 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 17 Jun 2010 08:44:33 +0000 (10:44 +0200)
gst/matroska/matroska-demux.c

index 1bb5e5455d6c81d088f88daf284d0b2b13fcf0a7..1b34b9f9bf674249c9428ba81b1499bfe90c5fb5 100644 (file)
@@ -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)