diff options
Diffstat (limited to 'libavcodec/hevc_filter.c')
-rw-r--r-- | libavcodec/hevc_filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index 8353e15ea0..e1c6aaeffd 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcodec/hevc_filter.c @@ -92,7 +92,7 @@ static int get_qPy_pred(HEVCContext *s, int xC, int yC, int qPy_pred, qPy_a, qPy_b; // qPy_pred - if (lc->first_qp_group) { + if (lc->first_qp_group || (!xQgBase && !yQgBase)) { lc->first_qp_group = !lc->tu.is_cu_qp_delta_coded; qPy_pred = s->sh.slice_qp; } else { |