Commit 0924bcd8 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Fix build when vp8 is disabled

Change-Id: Ie1765f086b10d0f7c4d72961d238dfe0d6056dc2
parent ba794ea3
......@@ -56,10 +56,12 @@ void Encoder::InitEncoder(VideoSource *video) {
#endif // !CONFIG_EXT_TILE
} else
#endif
if (CodecInterface() == &vpx_codec_vp8_cx_algo) {
{
#if CONFIG_VP8_ENCODER
if (CodecInterface() == &vpx_codec_vp8_cx_algo) {
ASSERT_EQ(&vpx_codec_vp8_cx_algo, CodecInterface())
<< "Unknown Codec Interface";
}
#endif
}
}
......
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