mirror of
https://github.com/librempeg/librempeg
synced 2024-11-21 16:44:05 +00:00
avfilter/ardftsrc_template: remove excessive scaling
This commit is contained in:
parent
af4b185960
commit
950b082f26
@ -77,12 +77,12 @@ typedef struct fn(StateContext) {
|
||||
|
||||
static ftype fn(get_scale)(ftype in_size, ftype out_size)
|
||||
{
|
||||
return F(1.0) / out_size;
|
||||
return F(1.0);
|
||||
}
|
||||
|
||||
static ftype fn(get_iscale)(ftype in_size, ftype out_size)
|
||||
{
|
||||
return F(1.0) * out_size / in_size;
|
||||
return F(1.0) / in_size;
|
||||
}
|
||||
|
||||
static void fn(src_uninit)(AVFilterContext *ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user