[Libav-bugs] [Bug 13] audio problem with many .mov files

bugzilla-daemon at batanen.kinali.ch bugzilla-daemon at batanen.kinali.ch
Mon Jul 11 11:05:56 CEST 2011


http://bugzilla.libav.org/show_bug.cgi?id=13

aviadr1 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libavformat                 |libavcodec

--- Comment #3 from aviadr1 at gmail.com 2011-07-11 11:05:56 CEST ---
I can confirm by debugging that the problem is in libavcodec\aacdec.c:570

    if (avctx->extradata_size > 0) {
        avctx->channels    = 0;
        avctx->frame_size  = 0;
        avctx->sample_rate = 0;
        if (decode_audio_specific_config(ac, ac->avctx, &ac->m4ac,
                                         avctx->extradata,
                                         avctx->extradata_size) < 0)

sample_rate is modified to be 0, but decoding the extradata does not put it
back to the correct value.
these samples worked with previous versions of libav/ffmpeg and I have many
other samples from several other sources with the same problem.

perhaps decode_audio_specific_config() is buggy?

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the libav-bugs mailing list