encode_test_driver.h: use bool literal
authorJames Zern <jzern@google.com>
Wed, 26 Jul 2023 22:38:36 +0000 (15:38 -0700)
committerJames Zern <jzern@google.com>
Fri, 28 Jul 2023 00:52:49 +0000 (17:52 -0700)
Change-Id: If47be9ca0daa18d92cb849484f9e139e65e3560e

test/encode_test_driver.h

index 165fcfa..c797489 100644 (file)
@@ -264,7 +264,7 @@ class EncoderTest {
 
   const CodecFactory *codec_;
   // Hook to determine whether to decode frame after encoding
-  virtual bool DoDecode() const { return 1; }
+  virtual bool DoDecode() const { return true; }
 
   // Hook to handle encode/decode mismatch
   virtual void MismatchHook(const vpx_image_t *img1, const vpx_image_t *img2);