Commit 76dd01ec authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264: fix sign error

regression since f777504fSigned-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0ad8f73f
......@@ -4058,7 +4058,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
}
}
}
h->qp_thresh = 15 +
h->qp_thresh = 15 -
FFMIN(h->slice_alpha_c0_offset, h->slice_beta_offset) -
FFMAX3(0,
h->pps.chroma_qp_index_offset[0],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment