Re: [FFmpeg-devel] [PATCH 3/4] avutil/eval: check av_expr_parse_and_eval error code in the test build

2015-11-01 Thread Ganesh Ajjanagadde
On Sun, Nov 1, 2015 at 1:33 PM, Ganesh Ajjanagadde wrote: > On Sun, Nov 1, 2015 at 12:52 PM, Michael Niedermayer > wrote: >> On Sat, Oct 31, 2015 at 10:47:56AM -0400, Ganesh Ajjanagadde wrote: >>> This returns the error code from main in the test, in this case ENOMEM. >>> This should not matter,

Re: [FFmpeg-devel] [PATCH 3/4] avutil/eval: check av_expr_parse_and_eval error code in the test build

2015-11-01 Thread Ganesh Ajjanagadde
On Sun, Nov 1, 2015 at 12:52 PM, Michael Niedermayer wrote: > On Sat, Oct 31, 2015 at 10:47:56AM -0400, Ganesh Ajjanagadde wrote: >> This returns the error code from main in the test, in this case ENOMEM. >> This should not matter, and will ensure that no warnings are triggered >> when av_warn_unu

Re: [FFmpeg-devel] [PATCH 3/4] avutil/eval: check av_expr_parse_and_eval error code in the test build

2015-11-01 Thread Michael Niedermayer
On Sat, Oct 31, 2015 at 10:47:56AM -0400, Ganesh Ajjanagadde wrote: > This returns the error code from main in the test, in this case ENOMEM. > This should not matter, and will ensure that no warnings are triggered > when av_warn_unused_result is added to avutil/eval.h. > > Signed-off-by: Ganesh A

[FFmpeg-devel] [PATCH 3/4] avutil/eval: check av_expr_parse_and_eval error code in the test build

2015-10-31 Thread Ganesh Ajjanagadde
This returns the error code from main in the test, in this case ENOMEM. This should not matter, and will ensure that no warnings are triggered when av_warn_unused_result is added to avutil/eval.h. Signed-off-by: Ganesh Ajjanagadde --- libavutil/eval.c | 22 +- 1 file changed,