summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2007-12-17 18:43:34 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2007-12-17 18:43:34 +0000
commitb0797570df728796d07ce8d2083e6a48ef6bfcc0 (patch)
tree3f25a46de90e61d6fd2a83182b3fa17508939974 /libavcodec/rv34.c
parent5492209aa9b26773e7a5fdad0995196ffb2dff53 (diff)
Correct spatial prediction mode in RV30/40 for vertical left direction
and add its version that does not rely on down left neighbour subblock. Originally committed as revision 11252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv34.c')
-rw-r--r--libavcodec/rv34.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index 1e1c129290..5ef2e4e9ef 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -766,6 +766,7 @@ static void rv34_pred_4x4_block(RV34DecContext *r, uint8_t *dst, int stride, int
if(!down){
if(itype == DIAG_DOWN_LEFT_PRED) itype = DIAG_DOWN_LEFT_PRED_RV40_NODOWN;
if(itype == HOR_UP_PRED) itype = HOR_UP_PRED_RV40_NODOWN;
+ if(itype == VERT_LEFT_PRED) itype = VERT_LEFT_PRED_RV40_NODOWN;
}
if(!right && up){
topleft = dst[-stride + 3] * 0x01010101;