]> granicus.if.org Git - libvpx/commit
tools_common.h: add VPX_TOOLS_FORMAT_PRINTF
authorJames Zern <jzern@google.com>
Wed, 3 Nov 2021 00:19:10 +0000 (17:19 -0700)
committerJames Zern <jzern@google.com>
Wed, 3 Nov 2021 00:21:56 +0000 (17:21 -0700)
commitdd10ac8f69c1bc77fc69cd10de51092d07fbebb5
tree8f1e0caf276c856beefbbfbaa4ba296b5b51b84b
parent340f60524ffa35c7324c54fe404d84cc1a1ac402
tools_common.h: add VPX_TOOLS_FORMAT_PRINTF

and use it to set the format attribute for printf like functions. this
allows the examples to be built with -Wformat-nonliteral without
producing warnings.

Bug: webm:1744
Change-Id: I26b4c41c9a42790053b1ae0e4a678af8f2cd1d82
Fixed: webm:1744
configure
examples/svc_encodeframe.c
examples/twopass_encoder.c
examples/vp8_multi_resolution_encoder.c
examples/vpx_temporal_svc_encoder.c
rate_hist.c
tools_common.h
vpxenc.c
vpxstats.c
warnings.c