decode_test_driver: fix type size warning
like vpx_codec_decode(), vpx_codec_peek_stream_info() takes an unsigned int, not size_t, parameter for buffer size Change-Id: I4ce0e1fbbde461c2e1b8fcbaac3cd203ed707460
This commit is contained in:
parent
b2b07755e0
commit
aff720f8c5
@ -19,7 +19,8 @@ const char kVP8Name[] = "WebM Project VP8";
|
|||||||
|
|
||||||
vpx_codec_err_t Decoder::PeekStream(const uint8_t *cxdata, size_t size,
|
vpx_codec_err_t Decoder::PeekStream(const uint8_t *cxdata, size_t size,
|
||||||
vpx_codec_stream_info_t *stream_info) {
|
vpx_codec_stream_info_t *stream_info) {
|
||||||
return vpx_codec_peek_stream_info(CodecInterface(), cxdata, size,
|
return vpx_codec_peek_stream_info(CodecInterface(),
|
||||||
|
cxdata, static_cast<unsigned int>(size),
|
||||||
stream_info);
|
stream_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user