Browse Source

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
tags/n4.2
Carl Eugen Hoyos 6 years ago
parent
commit
a07470ba37
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/internal.h

+ 1
- 1
libavutil/internal.h View File

@@ -52,7 +52,7 @@
#endif

#ifndef emms_c
# define emms_c() while(0)
# define emms_c() do {} while(0)
#endif

#ifndef attribute_align_arg


Loading…
Cancel
Save