diff options
Diffstat (limited to 'media/ffvpx/libavutil/moz.build')
-rw-r--r-- | media/ffvpx/libavutil/moz.build | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/media/ffvpx/libavutil/moz.build b/media/ffvpx/libavutil/moz.build index 4839375c10..c3b3a21fbe 100644 --- a/media/ffvpx/libavutil/moz.build +++ b/media/ffvpx/libavutil/moz.build @@ -35,6 +35,7 @@ SOURCES += [ 'imgutils.c', 'log.c', 'log2_tab.c', + 'mastering_display_metadata.c', 'mathematics.c', 'mem.c', 'opt.c', @@ -56,13 +57,11 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']: SOURCES += [ 'adler32.c', 'base64.c', - 'color_utils.c', 'film_grain_params.c', 'hdr_dynamic_metadata.c', 'integer.c', 'intmath.c', 'lls.c', - 'mastering_display_metadata.c', 'pixelutils.c', 'threadmessage.c', 'timecode.c', @@ -79,6 +78,11 @@ EXPORTS.ffvpx = [ "tx.h" ] +c11_flags = ["-std=gnu11"] +if CONFIG["CC_TYPE"] == "clang-cl": + c11_flags.insert(0, "-Xclang") +CFLAGS += c11_flags + SYMBOLS_FILE = 'avutil.symbols' NoVisibilityFlags() |