shithub: libvpx

Download patch

ref: 58d02a85016311406a3b2bd648b1e75d2f844b0e
parent: 97356acb50e212fcfb7c91715718ec70953f780c
author: James Zern <jzern@google.com>
date: Wed Sep 16 09:40:01 EDT 2020

test/encode_test_driver: rm redundant get() w/unique_ptr

Change-Id: I3c1ece92ba9f43df4cbaf47109e35aaf0a807d97

--- a/test/encode_test_driver.cc
+++ b/test/encode_test_driver.cc
@@ -216,7 +216,7 @@
         switch (pkt->kind) {
           case VPX_CODEC_CX_FRAME_PKT:
             has_cxdata = true;
-            if (decoder.get() != nullptr && DoDecode()) {
+            if (decoder != nullptr && DoDecode()) {
               PreDecodeFrameHook(video, decoder.get());
               vpx_codec_err_t res_dec = decoder->DecodeFrame(
                   (const uint8_t *)pkt->data.frame.buf, pkt->data.frame.sz);