aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-07-16 12:26:34 -0700
committerDiego Biurrun <diego@biurrun.de>2014-07-16 12:26:34 -0700
commita11ef610eec5241e226efbd1c5bb5eb45c88d2c2 (patch)
tree18428bf422ae29da8afeb0c6d6c65a6571316720
parentadff0a8166345bb9513f0f658043fb6387e90122 (diff)
downloadffmpeg-a11ef610eec5241e226efbd1c5bb5eb45c88d2c2.tar.gz
h264: Remove some commented-out, broken cruft
-rw-r--r--libavcodec/h264_direct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_direct.c b/libavcodec/h264_direct.c
index 83c5958a4b..e0982837c7 100644
--- a/libavcodec/h264_direct.c
+++ b/libavcodec/h264_direct.c
@@ -500,7 +500,7 @@ single_col:
map_col_to_list0[1] = h->map_col_to_list0_field[h->mb_y&1][1];
dist_scale_factor =h->dist_scale_factor_field[h->mb_y&1];
}
- ref_offset = (h->ref_list[1][0].mbaff<<4) & (mb_type_col[0]>>3); //if(h->ref_list[1][0].mbaff && IS_INTERLACED(mb_type_col[0])) ref_offset=16 else 0
+ ref_offset = (h->ref_list[1][0].mbaff<<4) & (mb_type_col[0]>>3);
if(IS_INTERLACED(*mb_type) != IS_INTERLACED(mb_type_col[0])){
int y_shift = 2*!IS_INTERLACED(*mb_type);