[FFmpeg-devel] [PATCH] swresample: allow double precision beta value for the Kaiser window

wm4 nfxjfg at googlemail.com
Sat Nov 7 22:49:42 CET 2015


On Sat, 7 Nov 2015 20:00:50 +0000
Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:

> On 11/7/2015 7:35 PM, Paul B Mahol wrote:
> > AFAIK changing option from int to double will break programs which
> > assume opttions is int.  
> 
> Not really sure how it could. The original range allowed was [2,16],
> and using any of the av_opt_set functions should still work with that, 
> no?

A program could use av_opt_find() and then compute the pointer to the
option and set it manually.

Is this valid API usage? Well, can you really tell? Or anyone? I've
certainly seen at least one program do this with another option.


More information about the ffmpeg-devel mailing list