]> granicus.if.org Git - libvpx/commitdiff
Fix to overflow in asan test (for vp8 encoder).
authorMarco Paniconi <marpan@google.com>
Wed, 18 Dec 2013 20:23:30 +0000 (12:23 -0800)
committerMarco Paniconi <marpan@google.com>
Wed, 18 Dec 2013 22:12:29 +0000 (14:12 -0800)
Change-Id: Ie67339ab3a16ce7669b5366a743812df93c52711

vpx/src/vpx_encoder.c

index e0a29cb94562d7535efe41efb04fb35d9403b9b1..778ed2f0e3c53c276ac96b62c6d53288f9ddd0c0 100644 (file)
@@ -149,6 +149,7 @@ vpx_codec_err_t vpx_codec_enc_init_multi_ver(vpx_codec_ctx_t      *ctx,
         cfg++;
         dsf++;
       }
+      ctx--;
     }
   }