projects
/
profile
/
ivi
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fd0d7ff
)
limit range checking code for L[k] to CONFIG_DEBUG. patch by timeless@gmail.com
author
Michael Kohler
<michaelkohler@live.com>
Mon, 12 Jul 2010 16:41:45 +0000
(18:41 +0200)
committer
Michael Kohler
<michaelkohler@live.com>
Mon, 12 Jul 2010 16:41:45 +0000
(18:41 +0200)
vp8/decoder/decodemv.c
patch
|
blob
|
history
diff --git
a/vp8/decoder/decodemv.c
b/vp8/decoder/decodemv.c
index
44b98e7
..
4f24b44
100644
(file)
--- a/
vp8/decoder/decodemv.c
+++ b/
vp8/decoder/decodemv.c
@@
-226,13
+226,14
@@
void vp8_decode_mode_mvs(VP8D_COMP *pbi)
int mv_contz;
while (j != L[++k])
int mv_contz;
while (j != L[++k])
- if (k >= 16)
+ {
#if CONFIG_DEBUG
#if CONFIG_DEBUG
+ if (k >= 16)
+ {
assert(0);
assert(0);
-
-#else
- ;
+ }
#endif
#endif
+ }
mv_contz = vp8_mv_cont(&(vp8_left_bmi(mi, k)->mv.as_mv), &(vp8_above_bmi(mi, k, mis)->mv.as_mv));
mv_contz = vp8_mv_cont(&(vp8_left_bmi(mi, k)->mv.as_mv), &(vp8_above_bmi(mi, k, mis)->mv.as_mv));