[Ffmpeg-devel] [PATCH] Handle "A_AAC" in matroska codec IDs

Baptiste Coudurier baptiste.coudurier
Fri Nov 10 15:27:51 CET 2006


Hi

Steve Lhomme wrote:
> Hi,
> 
> As the title suggests.
> You can find a sample at this URL:
> http://www.matroska.org/~robux4/drdivx/samples/ticket-a_aac.mkv
> 
> Steve
> 
> [...]
> @@ -2245,7 +2245,7 @@
>  
>              }
>  
> -            if (codec_id==CODEC_ID_AAC) {
> +            else if (codec_id == CODEC_ID_AAC && !track->codec_priv_size) {
>                  MatroskaAudioTrack *audiotrack = (MatroskaAudioTrack *) track;
>                  int profile = matroska_aac_profile(track->codec_id);
>                  int sri = matroska_aac_sri(audiotrack->internal_samplerate);
> 

Is that hunk needed ? File seems to play fine without and only the first
hunk.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list