projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea30ac1
)
lavu/internal: Replace an empty loop with "do {}".
author
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Mon, 17 Dec 2018 19:33:24 +0000
(20:33 +0100)
committer
Carl Eugen Hoyos
<ceffmpeg@gmail.com>
Wed, 19 Dec 2018 14:46:29 +0000
(15:46 +0100)
Silences a clang warning when not compiling for x86:
libswscale/utils.c:345:13: warning: while loop has empty body
Suggested-by: Nicolas George
libavutil/internal.h
patch
|
blob
|
history
diff --git
a/libavutil/internal.h
b/libavutil/internal.h
index
06bd561
..
4acbcf5
100644
(file)
--- 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