[FFmpeg-trac] #3180(avformat:open): flv demuxer does not decode the aac audio properly
FFmpeg
trac at avcodec.org
Sun Dec 1 19:32:15 CET 2013
#3180: flv demuxer does not decode the aac audio properly
------------------------------------+------------------------------------
Reporter: merbanan | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: flv aac | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by merbanan):
diff --git a/libavcodec/mpeg4audio.c b/libavcodec/mpeg4audio.c
index 0fb9b96..2f29408 100644
--- a/libavcodec/mpeg4audio.c
+++ b/libavcodec/mpeg4audio.c
@@ -125,8 +125,8 @@ int avpriv_mpeg4audio_get_config(MPEG4AudioConfig *c,
const
uint8_t *buf,
c->ext_object_type = get_object_type(&gb);
if (c->ext_object_type == AOT_SBR && (c->sbr =
get_bits1(&gb))
== 1)
c->ext_sample_rate = get_sample_rate(&gb,
&c->ext_sampling_index);
- if (get_bits_left(&gb) > 11 && get_bits(&gb, 11) ==
0x548)
- c->ps = get_bits1(&gb);
+// if (get_bits_left(&gb) > 11 && get_bits(&gb, 11) ==
0x548)
+// c->ps = get_bits1(&gb);
break;
} else
get_bits1(&gb); // skip 1 bit
This patch makes the file decode properly.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3180#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list