[FFmpeg-devel] [PATCH] Stricter TMV probe

Daniel Verkamp daniel
Mon Sep 21 19:04:58 CEST 2009

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.


-- Daniel Verkamp

More information about the ffmpeg-devel mailing list