[FFmpeg-devel] [PATCH] Stricter TMV probe

Daniel Verkamp daniel
Fri Oct 9 20:26:25 CEST 2009


On Mon, Sep 21, 2009 at 12:04 PM, Daniel Verkamp <daniel at drv.nu> wrote:
> On Mon, Sep 14, 2009 at 6:22 PM, Daniel Verkamp <daniel at drv.nu> wrote:
> [...]
>> For this format, at least, arbitrary sample rates are normal and
>> valid, since the hardware is being programmed directly; attached is a
>> patch with a basic range check that approximates the capabilities of
>> the SoundBlaster (maximum is enforced by the 64k maximum representable
>> in 16 bits). I've also added a slightly stricter check for audio chunk
>> size.
>>
>> In addition, I return AVPROBE_SCORE_MAX only for files that are 40x25
>> (all other players I know of only support this size), and
>> AVPROBE_SCORE_MAX / 4 for the rest.
>>
>
> Ping.

Since this is an obscure format and the patch makes the probe routine
detect a subset of what it did before (and the file is originally
written by me), applied.

Thanks,
-- Daniel Verkamp



More information about the ffmpeg-devel mailing list