Hi! Attached patch removes an unused function from cfhd.c.
Please comment, Carl Eugen
From 191c7baea8b820d07bbcf1ddb50ffcff8f6c6a08 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceffm...@gmail.com> Date: Thu, 23 Aug 2018 15:56:06 +0200 Subject: [PATCH] lavc/cfhd: Remove an unused function. --- libavcodec/cfhd.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 846d334..616f5af 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -136,20 +136,6 @@ static inline void peak_table(int16_t *band, Peak *peak, int length) band[i] = bytestream2_get_le16(&peak->base); } -static inline void process_alpha(int16_t *alpha, int width) -{ - int i, channel; - for (i = 0; i < width; i++) { - channel = alpha[i]; - channel -= ALPHA_COMPAND_DC_OFFSET; - channel <<= 3; - channel *= ALPHA_COMPAND_GAIN; - channel >>= 16; - channel = av_clip_uintp2(channel, 12); - alpha[i] = channel; - } -} - static inline void filter(int16_t *output, ptrdiff_t out_stride, int16_t *low, ptrdiff_t low_stride, int16_t *high, ptrdiff_t high_stride, -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel