summaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-12-17 20:33:24 +0100
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-12-19 15:46:29 +0100
commita07470ba372fd85da5cf466365af6a98e18ac046 (patch)
treec8a0b389b500de40db2a9c6a54c0aab006c37861 /libavutil
parentea30ac1e408246382796f61d645d1e087aed390a (diff)
downloadffmpeg-streaming-a07470ba372fd85da5cf466365af6a98e18ac046.zip
ffmpeg-streaming-a07470ba372fd85da5cf466365af6a98e18ac046.tar.gz
lavu/internal: Replace an empty loop with "do {}".
Silences a clang warning when not compiling for x86: libswscale/utils.c:345:13: warning: while loop has empty body Suggested-by: Nicolas George
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 06bd561..4acbcf5 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -52,7 +52,7 @@
#endif
#ifndef emms_c
-# define emms_c() while(0)
+# define emms_c() do {} while(0)
#endif
#ifndef attribute_align_arg
OpenPOWER on IntegriCloud