projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
958a2b5
)
Fix reading out of buffer during RV30/40 deblock mask calculation
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 2 Dec 2008 18:14:53 +0000
(18:14 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 2 Dec 2008 18:14:53 +0000
(18:14 +0000)
Originally committed as revision 15983 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rv34.c
patch
|
blob
|
history
diff --git
a/libavcodec/rv34.c
b/libavcodec/rv34.c
index
ecba8d2
..
4635943
100644
(file)
--- a/
libavcodec/rv34.c
+++ b/
libavcodec/rv34.c
@@
-1100,7
+1100,7
@@
static int rv34_set_deblock_coef(RV34DecContext *r)
for(i = 0; i < 2; i++){
if(is_mv_diff_gt_3(motion_val + i, 1))
vmvmask |= 0x11 << (j + i*2);
- if(is_mv_diff_gt_3(motion_val + i, s->b8_stride))
+ if(
(j || s->mb_y) &&
is_mv_diff_gt_3(motion_val + i, s->b8_stride))
hmvmask |= 0x03 << (j + i*2);
}
motion_val += s->b8_stride;