matroskademux: Fix an uninitialized variable compiler warning

This commit is contained in:
Sebastian Dröge 2010-06-17 10:44:33 +02:00
parent f44e5e630b
commit 968ce701a7

View file

@ -6442,6 +6442,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
guint obj_type, freq_index, explicit_freq_bytes = 0; guint obj_type, freq_index, explicit_freq_bytes = 0;
codec_id = GST_MATROSKA_CODEC_ID_AUDIO_AAC_MPEG4; codec_id = GST_MATROSKA_CODEC_ID_AUDIO_AAC_MPEG4;
mpegversion = 4;
freq_index = (GST_READ_UINT16_BE (context->codec_priv) & 0x780) >> 7; freq_index = (GST_READ_UINT16_BE (context->codec_priv) & 0x780) >> 7;
obj_type = (GST_READ_UINT16_BE (context->codec_priv) & 0xF800) >> 11; obj_type = (GST_READ_UINT16_BE (context->codec_priv) & 0xF800) >> 11;
if (freq_index == 15) if (freq_index == 15)