Doesn't change the logic, modify to keep it consistent with 7.3.8.8 in spec to avoid some misunderstandings.
Signed-off-by: Linjie Fu <linjie...@intel.com> --- libavcodec/hevcdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 8f1c162..fb2ee72 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -1300,7 +1300,7 @@ static int hls_transform_tree(HEVCContext *s, int x0, int y0, inter_split; } - if (s->ps.sps->chroma_format_idc && (log2_trafo_size > 2 || s->ps.sps->chroma_format_idc == 3)) { + if ((s->ps.sps->chroma_format_idc && log2_trafo_size > 2) || s->ps.sps->chroma_format_idc == 3) { if (trafo_depth == 0 || cbf_cb[0]) { cbf_cb[0] = ff_hevc_cbf_cb_cr_decode(s, trafo_depth); if (s->ps.sps->chroma_format_idc == 2 && (!split_transform_flag || log2_trafo_size == 3)) { -- 2.7.4 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".