diff mbox series

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

Message ID 20240614092618.942872-1-yotam.ofek@gmail.com
State New
Headers show
Series [FFmpeg-devel] avcodec/aaccoder_twoloop: remove unused macro | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Yotam Ofek June 14, 2024, 9:26 a.m. UTC
seems the `sclip` macro was never used
---
 libavcodec/aaccoder_twoloop.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Yotam Ofek July 2, 2024, 8:35 p.m. UTC | #1
Bump :)

On Fri, Jun 14, 2024, 12:26 Yotam Ofek <yotam.ofek@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
>
>
diff mbox series

Patch

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)
 {