aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-02-22 11:19:03 +0100
committerReinhard Tartler <siretart@tauware.de>2014-02-28 23:05:53 -0500
commit8883b5f85bfe35509633bc590d19b6a1b495690e (patch)
tree7cd8723b31c10bbe415ef5af5c453b429d6c36f2
parent7c70cee29cdfef3ae8446875f0cb9f7b05c3e3e8 (diff)
downloadffmpeg-8883b5f85bfe35509633bc590d19b6a1b495690e.tar.gz
h264: Fix a typo from the previous commit
f777504f640260337974848c7d5d7a3f064bbb45 changed a - in + CC: libav-stable@libav.org (cherry picked from commit d922c5a5fbaf0b6c73bd8c81ae059bc6e406961c) (cherry picked from commit 3ce77e04c2ca4b9e7fa6b94b51e8d7c5f188da86)
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 03c1d07ff1..d6d3d42495 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3213,7 +3213,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],