[FFmpeg-devel] [PATCH] avcodec/aaccoder_twoloop: remove unused macro

Yotam Ofek yotam.ofek at gmail.com
Tue Jul 2 23:35:49 EEST 2024


Bump :)

On Fri, Jun 14, 2024, 12:26 Yotam Ofek <yotam.ofek at gmail.com> wrote:

> seems the `sclip` macro was never used
> ---
>  libavcodec/aaccoder_twoloop.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/libavcodec/aaccoder_twoloop.h b/libavcodec/aaccoder_twoloop.h
> index 92dc2911a3..c1dcdbb5ed 100644
> --- a/libavcodec/aaccoder_twoloop.h
> +++ b/libavcodec/aaccoder_twoloop.h
> @@ -53,8 +53,6 @@
>  /** Frequency in Hz for lower limit of noise substitution **/
>  #define NOISE_LOW_LIMIT 4000
>
> -#define sclip(x) av_clip(x,60,218)
> -
>  /* Reflects the cost to change codebooks */
>  static inline int ff_pns_bits(SingleChannelElement *sce, int w, int g)
>  {
> --
> 2.40.1
>
>


More information about the ffmpeg-devel mailing list