]> granicus.if.org Git - libvpx/commit
vpx_codec_enc_config_default: disable 'usage'
authorJohann <johann.koenig@duck.com>
Thu, 1 Nov 2018 20:02:45 +0000 (13:02 -0700)
committerJohann <johann.koenig@duck.com>
Mon, 5 Nov 2018 23:14:46 +0000 (15:14 -0800)
commite57f388bcf1a9ed00a45a08216ec2b6c0b041a96
tree3ff6e48900bc6cd656a2bbf6c99b4deafe7b4b61
parent811759d8685095e69c3fa710bacfe59d62dbf831
vpx_codec_enc_config_default: disable 'usage'

Found with clang-tidy. This value is unused in libvpx.

There is an existing test which ensures this is not used:
test/encode_api_test.cc:
    EXPECT_EQ(VPX_CODEC_INVALID_PARAM,
              vpx_codec_enc_config_default(kCodecs[i], &cfg, 1));

Change-Id: I94bd0663c6652b4267204c02c3921972c854d0b0
vp8/vp8_cx_iface.c
vp9/vp9_cx_iface.c
vpx/src/vpx_encoder.c
vpx/vp8cx.h
vpx/vpx_encoder.h