Re: [FFmpeg-devel] [PATCH 2/2] swscale/swscale: add av_warn_unused_result to sws_init_context

2015-10-16 Thread Ganesh Ajjanagadde
On Fri, Oct 16, 2015 at 11:07 AM, Michael Niedermayer wrote: > On Thu, Oct 15, 2015 at 09:46:28PM -0400, Ganesh Ajjanagadde wrote: >> This should not trigger any warnings; but adds robustness. >> >> Signed-off-by: Ganesh Ajjanagadde >> --- >> libswscale/swscale.h | 1 + >> 1 file changed, 1 inse

Re: [FFmpeg-devel] [PATCH 2/2] swscale/swscale: add av_warn_unused_result to sws_init_context

2015-10-16 Thread Michael Niedermayer
On Thu, Oct 15, 2015 at 09:46:28PM -0400, Ganesh Ajjanagadde wrote: > This should not trigger any warnings; but adds robustness. > > Signed-off-by: Ganesh Ajjanagadde > --- > libswscale/swscale.h | 1 + > 1 file changed, 1 insertion(+) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147E

[FFmpeg-devel] [PATCH 2/2] swscale/swscale: add av_warn_unused_result to sws_init_context

2015-10-15 Thread Ganesh Ajjanagadde
This should not trigger any warnings; but adds robustness. Signed-off-by: Ganesh Ajjanagadde --- libswscale/swscale.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libswscale/swscale.h b/libswscale/swscale.h index ff3f630..da9dd2e 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.