]> granicus.if.org Git - libvpx/commit
vpx_codec_enc_init_multi: fix segfault w/vp9
authorJames Zern <jzern@google.com>
Tue, 23 Jan 2018 21:01:23 +0000 (13:01 -0800)
committerJames Zern <jzern@google.com>
Tue, 23 Jan 2018 23:52:03 +0000 (15:52 -0800)
commit004fb91416e355986dc098883791becf39ffc1f7
tree83bb475d2d823dbd71b82c74d2fc0ead019ad2ba
parent8fd648c78abfa89752f5843a3d4ac2a49b358402
vpx_codec_enc_init_multi: fix segfault w/vp9

vp9 does not support multi-res encoding, the request should not crash.

+ encode_api_test: unconditionally expose multi-res test

vpx_codec_enc_init_multi should fail independent of
CONFIG_MULTI_RES_ENCODING if not for the same reason.

Change-Id: I44fc58ef70ee4e0e482cb6a5736885f4cb2a8517
test/encode_api_test.cc
vpx/src/vpx_encoder.c