summaryrefslogtreecommitdiff
path: root/vp9/decoder/vp9_decodemv.c
diff options
context:
space:
mode:
authorDmitry Kovalev <dkovalev@google.com>2013-06-28 14:03:28 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2013-06-28 14:03:28 -0700
commit59070f6e3cf2e39f2e5717dc3b4857d1dbd3841e (patch)
tree6f3aea3bc31e5c925ecc422c1c9731f871c6cb52 /vp9/decoder/vp9_decodemv.c
parentcee3bc6ffa823848651d9839647c9aa96a6cf0f2 (diff)
parent8e6ce6bb9e31ce61ef2b2960437405fe8e654e7e (diff)
downloadlibvpx-59070f6e3cf2e39f2e5717dc3b4857d1dbd3841e.tar
libvpx-59070f6e3cf2e39f2e5717dc3b4857d1dbd3841e.tar.gz
libvpx-59070f6e3cf2e39f2e5717dc3b4857d1dbd3841e.tar.bz2
libvpx-59070f6e3cf2e39f2e5717dc3b4857d1dbd3841e.zip
Merge "Removing CONFIG_DEBUG checks on assertions."
Diffstat (limited to 'vp9/decoder/vp9_decodemv.c')
-rw-r--r--vp9/decoder/vp9_decodemv.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/vp9/decoder/vp9_decodemv.c b/vp9/decoder/vp9_decodemv.c
index 3c5abd43b..726d28b20 100644
--- a/vp9/decoder/vp9_decodemv.c
+++ b/vp9/decoder/vp9_decodemv.c
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <assert.h>
+
#include "vp9/common/vp9_common.h"
#include "vp9/common/vp9_entropy.h"
#include "vp9/common/vp9_entropymode.h"
@@ -24,11 +26,6 @@
#include "vp9/decoder/vp9_dsubexp.h"
#include "vp9/decoder/vp9_treereader.h"
-
-#if CONFIG_DEBUG
-#include <assert.h>
-#endif
-
// #define DEBUG_DEC_MV
#ifdef DEBUG_DEC_MV
int dec_mvcount = 0;
@@ -748,9 +745,7 @@ static void read_mb_modes_mv(VP9D_COMP *pbi, MODE_INFO *mi, MB_MODE_INFO *mbmi,
&cm->fc.NMVcount, xd->allow_high_precision_mv);
break;
default:
-#if CONFIG_DEBUG
assert(0);
-#endif
break;
}
}