[libav-devel] [PATCH 1/2] movenc-test: add a missing va_end call

Luca Barbato lu_zero at gentoo.org
Mon Dec 7 00:15:37 CET 2015


On 06/12/15 20:30, Martin Storsjö wrote:
> From: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> 
> ---
>  libavformat/movenc-test.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/movenc-test.c b/libavformat/movenc-test.c
> index 0c40b3a..6520aea 100644
> --- a/libavformat/movenc-test.c
> +++ b/libavformat/movenc-test.c
> @@ -137,6 +137,7 @@ static void check_func(int value, int line, const char *msg, ...)
>          vprintf(msg, ap);
>          printf("\n");
>          check_faults++;
> +        va_end(ap);
>      }
>  }
>  #define check(value, ...) check_func(value, __LINE__, __VA_ARGS__)
> 

Sounds fine.


More information about the libav-devel mailing list