vpx_codec_internal.h: add LIBVPX_FORMAT_PRINTF
authorJames Zern <jzern@google.com>
Tue, 2 Nov 2021 23:29:52 +0000 (16:29 -0700)
committerJames Zern <jzern@google.com>
Wed, 3 Nov 2021 00:21:30 +0000 (17:21 -0700)
commit340f60524ffa35c7324c54fe404d84cc1a1ac402
tree5d917379528c58691a7d1f678187fd2f2ae619a0
parentc56ab7d0c6f3fb215d571db3dacc0cc908c1b53c
vpx_codec_internal.h: add LIBVPX_FORMAT_PRINTF

and use it to set the format attribute for the printf like function
vpx_internal_error(). this allows the main library to be built with
-Wformat-nonliteral without producing warnings; the examples will be
handled in a followup.

Bug: webm:1744
Change-Id: Iebc322e24db35d902c5a2b1ed767d2e10e9c91b9
vpx/internal/vpx_codec_internal.h