shithub: libvpx

Download patch

ref: 8d8ee1f644059afe2cb5837843dbf296461b78eb
parent: 904cb53302dfebee4a0d795ad6ccebdd5da5f542
parent: 1bf7a0fb29c8af93a9d65f8082bab03cdb22d53d
author: James Zern <[email protected]>
date: Wed Mar 30 01:38:59 EDT 2016

Merge "vp8_peek_si_internal: quiet static analysis warning"

--- a/vp8/vp8_dx_iface.c
+++ b/vp8/vp8_dx_iface.c
@@ -9,6 +9,7 @@
  */
 
 
+#include <assert.h>
 #include <stdlib.h>
 #include <string.h>
 #include "./vp8_rtcd.h"
@@ -153,6 +154,8 @@
                                             void *decrypt_state)
 {
     vpx_codec_err_t res = VPX_CODEC_OK;
+
+    assert(data != NULL);
 
     if(data + data_sz <= data)
     {