Re: [FFmpeg-devel] [PATCHv2] avcodec/libx264: silence -Waddress

2015-10-07 Thread Ronald S. Bultje
Hi, On Tue, Oct 6, 2015 at 10:48 PM, Ganesh Ajjanagadde wrote: > This patch moves the pointer validity check outside the macro, > and silences the -Waddress observed with GCC 5.2. > > Note that this changes the error message slightly, from: > "bad option..." to "Error parsing option...". > > Sig

Re: [FFmpeg-devel] [PATCHv2] avcodec/libx264: silence -Waddress

2015-10-07 Thread Ronald S. Bultje
Hi, On Tue, Oct 6, 2015 at 10:48 PM, Ganesh Ajjanagadde wrote: > This patch moves the pointer validity check outside the macro, > and silences the -Waddress observed with GCC 5.2. > > Note that this changes the error message slightly, from: > "bad option..." to "Error parsing option...". > > Sig

[FFmpeg-devel] [PATCHv2] avcodec/libx264: silence -Waddress

2015-10-06 Thread Ganesh Ajjanagadde
This patch moves the pointer validity check outside the macro, and silences the -Waddress observed with GCC 5.2. Note that this changes the error message slightly, from: "bad option..." to "Error parsing option...". Signed-off-by: Ganesh Ajjanagadde --- libavcodec/libx264.c | 6 +++--- 1 file c