Re: [FFmpeg-devel] [PATCH] swscale/swscale: silence unused function warning

2015-09-16 Thread Timothy Gu
On Wed, Sep 16, 2015 at 2:20 PM, Ganesh Ajjanagadde wrote: > gamma_convert is only used with the old code. Thus, it is > placed under a header guard. This patch silences a -Wunused-function > observed on GCC 5.2. > > Signed-off-by: Ganesh Ajjanagadde > --- > libswscale/swscale.c | 2 ++ > 1 file

[FFmpeg-devel] [PATCH] swscale/swscale: silence unused function warning

2015-09-16 Thread Ganesh Ajjanagadde
gamma_convert is only used with the old code. Thus, it is placed under a header guard. This patch silences a -Wunused-function observed on GCC 5.2. Signed-off-by: Ganesh Ajjanagadde --- libswscale/swscale.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libswscale/swscale.c b/libswscale/s