[FFmpeg-cvslog] checkasm: Give macro a body to avoid potential unexpected syntax issues
Michael Niedermayer
git at videolan.org
Sat Jul 18 02:31:05 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Jul 17 18:07:58 2015 +0200| [cb33f8d0f48b1e9d642ca1cbea142dcbedd08a27] | committer: Janne Grunau
checkasm: Give macro a body to avoid potential unexpected syntax issues
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb33f8d0f48b1e9d642ca1cbea142dcbedd08a27
---
tests/checkasm/checkasm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h
index c2e359f..b7a36ee 100644
--- a/tests/checkasm/checkasm.h
+++ b/tests/checkasm/checkasm.h
@@ -111,7 +111,7 @@ void checkasm_stack_clobber(uint64_t clobber, ...);
}\
} while (0)
#else
-#define bench_new(...)
+#define bench_new(...) while(0)
#endif
#endif
More information about the ffmpeg-cvslog
mailing list