[FFmpeg-cvslog] avutil/internal: Suppress empty body warning from emms_c()

Michael Niedermayer git at videolan.org
Wed May 6 15:57:06 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed May  6 15:46:25 2015 +0200| [890b874889bc58362a2422cb0f2d5c9b1d30a007] | committer: Michael Niedermayer

avutil/internal: Suppress empty body warning from emms_c()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=890b874889bc58362a2422cb0f2d5c9b1d30a007
---

 libavutil/internal.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/internal.h b/libavutil/internal.h
index 08ee6e5..61bc027 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -47,7 +47,7 @@
 #endif
 
 #ifndef emms_c
-#   define emms_c()
+#   define emms_c() while(0)
 #endif
 
 #ifndef attribute_align_arg



More information about the ffmpeg-cvslog mailing list