#ifndef VPX_VP8_DECODER_ONYXD_INT_H_
#define VPX_VP8_DECODER_ONYXD_INT_H_
+#include <assert.h>
+
#include "vpx_config.h"
#include "vp8/common/onyxd.h"
#include "treereader.h"
#if CONFIG_DEBUG
#define CHECK_MEM_ERROR(lval, expr) \
do { \
+ assert(pbi->common.error.setjmp); \
(lval) = (expr); \
if (!(lval)) \
vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR, \
#else
#define CHECK_MEM_ERROR(lval, expr) \
do { \
+ assert(pbi->common.error.setjmp); \
(lval) = (expr); \
if (!(lval)) \
vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR, \
#ifndef VPX_VP8_ENCODER_ONYX_INT_H_
#define VPX_VP8_ENCODER_ONYX_INT_H_
+#include <assert.h>
#include <stdio.h>
+
#include "vpx_config.h"
#include "vp8/common/onyx.h"
#include "treewriter.h"
#if CONFIG_DEBUG
#define CHECK_MEM_ERROR(lval, expr) \
do { \
+ assert(cpi->common.error.setjmp); \
(lval) = (expr); \
if (!(lval)) \
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR, \
#else
#define CHECK_MEM_ERROR(lval, expr) \
do { \
+ assert(cpi->common.error.setjmp); \
(lval) = (expr); \
if (!(lval)) \
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR, \
#if CONFIG_DEBUG
#define CHECK_MEM_ERROR(cm, lval, expr) \
do { \
+ assert(&(cm)->error.setjmp); \
(lval) = (expr); \
if (!(lval)) \
vpx_internal_error(&(cm)->error, VPX_CODEC_MEM_ERROR, \
#else
#define CHECK_MEM_ERROR(cm, lval, expr) \
do { \
+ assert(&(cm)->error.setjmp); \
(lval) = (expr); \
if (!(lval)) \
vpx_internal_error(&(cm)->error, VPX_CODEC_MEM_ERROR, \