summaryrefslogtreecommitdiff
path: root/libavcodec/rv34.c
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-11-08 07:24:56 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-11-08 07:24:56 +0000
commitede0a5f9734cca077992a88b1da3e1596f252f94 (patch)
tree429fc0fcff7aadcfbc35d35052b74b3882230e9f /libavcodec/rv34.c
parentd2299316ce35e99fc732f17c7c64e9d2f53c5a57 (diff)
Drop redundant check in RV3/4 deblock coefficients calculation
Originally committed as revision 15792 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv34.c')
-rw-r--r--libavcodec/rv34.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index cee84a0acd..867a3461cb 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -1085,8 +1085,6 @@ static int rv34_set_deblock_coef(RV34DecContext *r)
int mvmask = 0, i, j;
int midx = s->mb_x * 2 + s->mb_y * 2 * s->b8_stride;
int16_t (*motion_val)[2] = s->current_picture_ptr->motion_val[0][midx];
- if(s->pict_type == FF_I_TYPE)
- return 0;
for(j = 0; j < 16; j += 8){
for(i = 0; i < 2; i++){
if(is_mv_diff_gt_3(motion_val + i, 1))