mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 13:02:29 +00:00
matroskademux: Fix an uninitialized variable compiler warning
This commit is contained in:
parent
f44e5e630b
commit
968ce701a7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue