diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-07-16 19:30:13 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-07-16 19:30:13 +0000 |
commit | 6dac8c83273ebb6ab8cf516ec87e14f2ab2b001a (patch) | |
tree | b313cd3e9b6e99544ceed27ee9974a12c5751ace /libavutil/attributes.h | |
parent | 9db747b2a300380dd65032818155067054332dae (diff) | |
download | ffmpeg-6dac8c83273ebb6ab8cf516ec87e14f2ab2b001a.tar.gz |
lavu: disable av_uninit for clang
This silence bunch of useless warnings like:
libavformat/mpeg.c:393:37: warning: variable 'dvdaudio_substream_type' is uninitialized when used within its own initialization [-Wuninitialized]
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r-- | libavutil/attributes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h index c1f26f5ba4..64b46f68f0 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -131,7 +131,7 @@ # define av_alias #endif -#if defined(__GNUC__) && !defined(__INTEL_COMPILER) +#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__clang__) # define av_uninit(x) x=x #else # define av_uninit(x) x |