Commit 708e08b7 authored by Zoe Liu's avatar Zoe Liu
Browse files

Add a cast to avoid a Visual Studio build warning

Change-Id: I82fe5145b83c690bff50e4104adcf22aeb973903
parent 33ef8832
......@@ -111,8 +111,8 @@ struct Decoder {
~Decoder() { aom_codec_destroy(&dec_); }
std::vector<int16_t> decode(const aom_codec_cx_pkt_t *pkt) {
aom_codec_decode(&dec_, (uint8_t *)pkt->data.frame.buf, pkt->,
NULL, 0);
aom_codec_decode(&dec_, (uint8_t *)pkt->data.frame.buf,
(unsigned int)pkt->, NULL, 0);
aom_codec_iter_t iter = NULL;
return serialize(aom_codec_get_frame(&dec_, &iter));
Supports Markdown
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