avcodec/h264: fix sign error

regression since f777504f64

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-02-21 00:33:23 +01:00
parent 0ad8f73f13
commit 76dd01ecd4
1 changed files with 1 additions and 1 deletions

View File

@ -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],