[FFmpeg-cvslog] h264: Fix a typo from the previous commit

Luca Barbato git at videolan.org
Mon Mar 3 22:30:12 CET 2014


ffmpeg | branch: release/2.2 | Luca Barbato <lu_zero at gentoo.org> | Sat Feb 22 11:19:03 2014 +0100| [de187e3e9ec4803575deb1c293ccad84d2a88da8] | committer: Reinhard Tartler

h264: Fix a typo from the previous commit

f777504f640260337974848c7d5d7a3f064bbb45 changed a - in +

CC: libav-stable at libav.org
(cherry picked from commit d922c5a5fbaf0b6c73bd8c81ae059bc6e406961c)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de187e3e9ec4803575deb1c293ccad84d2a88da8
---

 libavcodec/h264.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 2ca331a..29b96c4 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3892,7 +3892,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],



More information about the ffmpeg-cvslog mailing list