Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(374)

Unified Diff: source/libvpx/test/encode_test_driver.cc

Issue 12982023: libvpx: Pull from upstream (Closed) Base URL: https://src.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/test/decode_test_driver.cc ('k') | source/libvpx/test/vp8_boolcoder_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/test/encode_test_driver.cc
===================================================================
--- source/libvpx/test/encode_test_driver.cc (revision 191054)
+++ source/libvpx/test/encode_test_driver.cc (working copy)
@@ -160,13 +160,16 @@
while (const vpx_codec_cx_pkt_t *pkt = iter.Next()) {
again = true;
-
+#if CONFIG_VP8_DECODER
+ vpx_codec_err_t res_dec;
+#endif
switch (pkt->kind) {
case VPX_CODEC_CX_FRAME_PKT:
#if CONFIG_VP8_DECODER
has_cxdata = true;
- decoder.DecodeFrame((const uint8_t*)pkt->data.frame.buf,
- pkt->data.frame.sz);
+ res_dec = decoder.DecodeFrame((const uint8_t*)pkt->data.frame.buf,
+ pkt->data.frame.sz);
+ ASSERT_EQ(VPX_CODEC_OK, res_dec) << decoder.DecodeError();
#endif
ASSERT_GE(pkt->data.frame.pts, last_pts_);
last_pts_ = pkt->data.frame.pts;
« no previous file with comments | « source/libvpx/test/decode_test_driver.cc ('k') | source/libvpx/test/vp8_boolcoder_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698