[FFmpeg-cvslog] r18139 - trunk/libavcodec/mpeg4audio.c
bcoudurier
subversion
Sun Mar 22 03:53:01 CET 2009
Author: bcoudurier
Date: Sun Mar 22 03:53:01 2009
New Revision: 18139
Log:
init ext sample rate to 0 if not present
Modified:
trunk/libavcodec/mpeg4audio.c
Modified: trunk/libavcodec/mpeg4audio.c
==============================================================================
--- trunk/libavcodec/mpeg4audio.c Sun Mar 22 03:47:35 2009 (r18138)
+++ trunk/libavcodec/mpeg4audio.c Sun Mar 22 03:53:01 2009 (r18139)
@@ -61,9 +61,10 @@ int ff_mpeg4audio_get_config(MPEG4AudioC
c->sbr = 1;
c->ext_sample_rate = get_sample_rate(&gb, &c->ext_sampling_index);
c->object_type = get_object_type(&gb);
- } else
+ } else {
c->ext_object_type = 0;
-
+ c->ext_sample_rate = 0;
+ }
specific_config_bitindex = get_bits_count(&gb);
if (c->ext_object_type != 5) {
More information about the ffmpeg-cvslog
mailing list