shithub: libvpx

Download patch

ref: c12d1d9b982e8717d2d7cabe3230105948bd3b7a
parent: 45daecb4f73a47ab3236a29a3a48c52324cbf19a
author: Sylvestre Ledru <[email protected]>
date: Fri Jun 9 10:08:18 EDT 2017

Remove some dead code. Coverity CID 1310058

Change-Id: I1186cf1dd8cde42f5970928f43edfc852298289d

--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -1500,9 +1500,6 @@
         cpi->rate_correction_factor = MAX_BPB_FACTOR;
       }
       return 1;
-    } else {
-      cpi->force_maxqp = 0;
-      return 0;
     }
     cpi->force_maxqp = 0;
     return 0;