diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-21 00:21:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-21 00:21:22 +0100 |
commit | 0ad8f73f137dad1f3d0f818e22bdb2949186e9ec (patch) | |
tree | 8367e283e51ac1a525b632e39c002ff7d360f998 /libavcodec/vaapi_h264.c | |
parent | de7b50e9cde715b8ccfef2c83def08b4e8581432 (diff) | |
download | ffmpeg-0ad8f73f137dad1f3d0f818e22bdb2949186e9ec.tar.gz |
avcodec: fix dxva2 & vaapi after removing the +52 offset from the loop filter parameters
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vaapi_h264.c')
-rw-r--r-- | libavcodec/vaapi_h264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_h264.c b/libavcodec/vaapi_h264.c index ea0f43420d..7fdaaf0918 100644 --- a/libavcodec/vaapi_h264.c +++ b/libavcodec/vaapi_h264.c @@ -333,8 +333,8 @@ static int vaapi_h264_decode_slice(AVCodecContext *avctx, slice_param->cabac_init_idc = h->cabac_init_idc; slice_param->slice_qp_delta = h->qscale - h->pps.init_qp; slice_param->disable_deblocking_filter_idc = h->deblocking_filter < 2 ? !h->deblocking_filter : h->deblocking_filter; - slice_param->slice_alpha_c0_offset_div2 = h->slice_alpha_c0_offset / 2 - 26; - slice_param->slice_beta_offset_div2 = h->slice_beta_offset / 2 - 26; + slice_param->slice_alpha_c0_offset_div2 = h->slice_alpha_c0_offset / 2; + slice_param->slice_beta_offset_div2 = h->slice_beta_offset / 2; slice_param->luma_log2_weight_denom = h->luma_log2_weight_denom; slice_param->chroma_log2_weight_denom = h->chroma_log2_weight_denom; |