Commit 78e5ecfc authored by James Zern's avatar James Zern Committed by Tom Finegan

coding_path_sync.cc: fix missing initializer warning

use the default constructor for aom_codec_dec_cfg, this matches the
other tests

Change-Id: I989007517c0dbd47b3781b812feba905061c0a26
parent c9ac07f6
...@@ -112,7 +112,7 @@ class Decoder { ...@@ -112,7 +112,7 @@ class Decoder {
explicit Decoder(int allowLowbitdepth) { explicit Decoder(int allowLowbitdepth) {
aom_codec_iface_t *algo = &aom_codec_av1_dx_algo; aom_codec_iface_t *algo = &aom_codec_av1_dx_algo;
aom_codec_dec_cfg cfg = { 0 }; aom_codec_dec_cfg_t cfg = aom_codec_dec_cfg_t();
cfg.allow_lowbitdepth = allowLowbitdepth; cfg.allow_lowbitdepth = allowLowbitdepth;
aom_codec_dec_init(&dec_, algo, &cfg, 0); aom_codec_dec_init(&dec_, algo, &cfg, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment