Commit 5e106907 authored by bcoudurier's avatar bcoudurier

init ext sample rate to 0 if not present

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18139 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c4c3d79d
...@@ -61,9 +61,10 @@ int ff_mpeg4audio_get_config(MPEG4AudioConfig *c, const uint8_t *buf, int buf_si ...@@ -61,9 +61,10 @@ int ff_mpeg4audio_get_config(MPEG4AudioConfig *c, const uint8_t *buf, int buf_si
c->sbr = 1; c->sbr = 1;
c->ext_sample_rate = get_sample_rate(&gb, &c->ext_sampling_index); c->ext_sample_rate = get_sample_rate(&gb, &c->ext_sampling_index);
c->object_type = get_object_type(&gb); c->object_type = get_object_type(&gb);
} else } else {
c->ext_object_type = 0; c->ext_object_type = 0;
c->ext_sample_rate = 0;
}
specific_config_bitindex = get_bits_count(&gb); specific_config_bitindex = get_bits_count(&gb);
if (c->ext_object_type != 5) { if (c->ext_object_type != 5) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment