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

Martin Storsjö martin at martin.st
Sun Dec 6 20:30:23 CET 2015


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__)
-- 
2.4.9 (Apple Git-60)



More information about the libav-devel mailing list