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

Anssi Hannula anssi.hannula
Tue Jul 27 08:13:17 CEST 2010


Anssi Hannula kirjoitti lauantai, 24. hein?kuuta 2010 06:15:23:
> And here's yet another alternative approach to the issue:
> No changes to API, just use normal CODEC_ID_PROBE in wav and have
> wav_read_packet() itself switch to PCM codec_id (ending probe) when a) no
> DTS markers exist in first packet, or b) a defined amount of packets have
> passed without the regular probe code finding anything credible.

Attached is a patch demonstrating this method.

-- 
Anssi Hannula



More information about the ffmpeg-devel mailing list