Re: [FFmpeg-devel] [PATCHv2 2/2] all: do standards compliant absdiff computation

2015-09-10 Thread Ganesh Ajjanagadde
On Sun, Aug 23, 2015 at 6:11 PM, Ganesh Ajjanagadde wrote: > This resolves undefined behavior, and also silences -Wabsolute-value in clang > 3.5+. > > Signed-off-by: Ganesh Ajjanagadde > --- > libavcodec/flashsv2enc.c | 6 +++--- > libavfilter/vf_hqx.c | 6 +++--- > libavfilter/vf_xbr.c

[FFmpeg-devel] [PATCHv2 2/2] all: do standards compliant absdiff computation

2015-08-23 Thread Ganesh Ajjanagadde
This resolves undefined behavior, and also silences -Wabsolute-value in clang 3.5+. Signed-off-by: Ganesh Ajjanagadde --- libavcodec/flashsv2enc.c | 6 +++--- libavfilter/vf_hqx.c | 6 +++--- libavfilter/vf_xbr.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a