diff options
author | Anton Mitrofanov <BugMaster@narod.ru> | 2017-06-13 23:37:29 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-06-20 03:04:29 +0200 |
commit | 273e87be3b24738a837b1854d11a47f2954e96f2 (patch) | |
tree | 532f51a713d7accf8459ac928930407faa91ea2b | |
parent | 48ab5a4dc0034f7a1b7c2da85e9615cfd3fb3d41 (diff) | |
download | ffmpeg-273e87be3b24738a837b1854d11a47f2954e96f2.tar.gz |
avcodec/h264_mb: Fix 8x8dct in lossless for new versions of x264
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 06dda70f1e7c69a3b1684af5e6930431c62c527a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/h264_mb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index 8302de040e..f9b8287c2e 100644 --- a/libavcodec/h264_mb.c +++ b/libavcodec/h264_mb.c @@ -638,7 +638,7 @@ static av_always_inline void hl_decode_mb_predict_luma(const H264Context *h, uint8_t *const ptr = dest_y + block_offset[i]; const int dir = sl->intra4x4_pred_mode_cache[scan8[i]]; if (transform_bypass && h->sps.profile_idc == 244 && dir <= 1) { - if (h->x264_build != -1) { + if (h->x264_build < 151U) { h->hpc.pred8x8l_add[dir](ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), linesize); } else h->hpc.pred8x8l_filter_add[dir](ptr, sl->mb + (i * 16 + p * 256 << pixel_shift), |