Re: [libav-devel] [PATCH 2/2] swscale: Convert the check check_image_pointers helper to a macro

2017-04-17 Thread Vittorio Giovara
On Sat, Apr 15, 2017 at 9:07 AM, Luca Barbato wrote: > Avoid warnings about types mismatch and make the code a little simpler. > --- > libswscale/swscale_unscaled.c | 37 +++-- > 1 file changed, 15 insertions(+), 22 deletions(-) ok if you like

[libav-devel] [PATCH 2/2] swscale: Convert the check check_image_pointers helper to a macro

2017-04-15 Thread Luca Barbato
Avoid warnings about types mismatch and make the code a little simpler. --- libswscale/swscale_unscaled.c | 37 +++-- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/libswscale/swscale_unscaled.c b/libswscale/swscale_unscaled.c index