[FFmpeg-devel] [PATCH] Detect DTS in wav (issue70) + about ac3-in-wav

Anssi Hannula anssi.hannula
Fri Jul 23 05:40:30 CEST 2010


Anssi Hannula kirjoitti torstai, 22. hein?kuuta 2010 06:15:17:
> Hi!
> 
> Attached are patches that fix issue70 (detection of DTS in wav).
> 
> Two new fields are added to AVStream that allow demuxers to set a fallback
> codec to a stream, which gets used if no codec is probed in a defined
> number of bytes.
> Please comment if you think this should be done in some better way :)
> 
> I made the wav demuxer do the probing only for PCM_S16LE, as all my
> dts/ac3- in-wav samples are like that. If people are aware of other kind
> of files, it could be changed to cover more/all PCM codecs if necessary.
> 
> 
> This works fine for DTS (issue70)

The first patch added a warning (mixed code and declarations), attached is a 
fixed one. The second patch was ok.

-- 
Anssi Hannula



More information about the ffmpeg-devel mailing list