summaryrefslogtreecommitdiff
path: root/test/decode_test_driver.h
diff options
context:
space:
mode:
authorTom Finegan <tomfinegan@google.com>2014-02-12 16:01:52 -0800
committerTom Finegan <tomfinegan@google.com>2014-02-12 16:01:52 -0800
commit235b77e54bab6e2075fa58e83220e89a86d7e588 (patch)
tree3e08e5722ae2f65c5f032d0ee1e0111c5ae281c8 /test/decode_test_driver.h
parentfffb3be7658ad3c79f79bc69470454aa69f82b73 (diff)
downloadlibvpx-235b77e54bab6e2075fa58e83220e89a86d7e588.tar
libvpx-235b77e54bab6e2075fa58e83220e89a86d7e588.tar.gz
libvpx-235b77e54bab6e2075fa58e83220e89a86d7e588.tar.bz2
libvpx-235b77e54bab6e2075fa58e83220e89a86d7e588.zip
decode_test_driver: Use size_t for size arg to DecodeFrame().
Use size_t for DecodeFrame()'s size arg, and cast only at the vpx_codec_decode() call site. This silences warnings that appear in svc_test.cc when building with vs2013. Change-Id: I2cf39f02a45732c752097f07b0c7ad414b1517d8
Diffstat (limited to 'test/decode_test_driver.h')
-rw-r--r--test/decode_test_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decode_test_driver.h b/test/decode_test_driver.h
index 3e8ff724b..44a0fc03d 100644
--- a/test/decode_test_driver.h
+++ b/test/decode_test_driver.h
@@ -49,7 +49,7 @@ class Decoder {
vpx_codec_destroy(&decoder_);
}
- vpx_codec_err_t DecodeFrame(const uint8_t *cxdata, int size);
+ vpx_codec_err_t DecodeFrame(const uint8_t *cxdata, size_t size);
DxDataIterator GetDxData() {
return DxDataIterator(&decoder_);