[FFmpeg-devel] [PATCH v2] avcodec/cfhd: fix compiling warning message and leave the code
Steven Liu
lq at chinaffmpeg.org
Fri Jun 28 02:12:55 EEST 2019
Signed-off-by: Steven Liu <lq at chinaffmpeg.org>
---
libavcodec/cfhd.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 846d334b9b..1e2ab28dfb 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -136,6 +136,11 @@ static inline void peak_table(int16_t *band, Peak *peak, int length)
band[i] = bytestream2_get_le16(&peak->base);
}
+#if 0
+/* NOTE:
+ * There have no caller now,
+ * but maybe it will be used in the future.
+ * */
static inline void process_alpha(int16_t *alpha, int width)
{
int i, channel;
@@ -149,7 +154,7 @@ static inline void process_alpha(int16_t *alpha, int width)
alpha[i] = channel;
}
}
-
+#endif
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,
--
2.15.1
More information about the ffmpeg-devel
mailing list