X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fhevc.c;h=a802e1e4ace4b44389342745d281e14600aaf667;hb=2268db2cd052674fde55c7d48b7a5098ce89b4ba;hp=f17c313b8319333bca29ac8a23c003dbbfc973fb;hpb=6b3ef7f080293956b2e5212b83135c6b051212e9;p=ffmpeg diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index f17c313b831..a802e1e4ace 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -2620,7 +2620,7 @@ static int verify_md5(HEVCContext *s, AVFrame *frame) if (!desc) return AVERROR(EINVAL); - pixel_shift = desc->comp[0].depth_minus1 > 7; + pixel_shift = desc->comp[0].depth > 8; av_log(s->avctx, AV_LOG_DEBUG, "Verifying checksum for frame with POC %d: ", s->poc);