[FFmpeg-cvslog] avcodec/h264_mb: Fix 8x8dct in lossless for new versions of x264
Anton Mitrofanov
git at videolan.org
Thu Jun 22 04:36:24 EEST 2017
ffmpeg | branch: release/3.1 | Anton Mitrofanov <BugMaster at narod.ru> | Tue Jun 13 23:37:29 2017 +0300| [ac86dc7716bf47045d6e64982b38a153a9b073ec] | committer: Michael Niedermayer
avcodec/h264_mb: Fix 8x8dct in lossless for new versions of x264
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
(cherry picked from commit 06dda70f1e7c69a3b1684af5e6930431c62c527a)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ac86dc7716bf47045d6e64982b38a153a9b073ec
---
libavcodec/h264_mb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c
index e33a59e4ca..4ae56ae8c2 100644
--- a/libavcodec/h264_mb.c
+++ b/libavcodec/h264_mb.c
@@ -636,7 +636,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->ps.sps->profile_idc == 244 && dir <= 1) {
- if (h->sei.unregistered.x264_build != -1) {
+ if (h->sei.unregistered.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),
More information about the ffmpeg-cvslog
mailing list