aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-09 12:26:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-09 12:27:47 +0100
commit45eb2a0d49c1086f5f6ed56490821da7fd3dea0b (patch)
treeea34e926fc796ce29ac022cf12119c568e01a221 /libavcodec
parent019b4b0650958210cc203924c6f0d5871b10d702 (diff)
parent91ef250713d04d675a16e5b030d7226baafe3f82 (diff)
downloadffmpeg-45eb2a0d49c1086f5f6ed56490821da7fd3dea0b.tar.gz
Merge commit '91ef250713d04d675a16e5b030d7226baafe3f82' into release/2.2
* commit '91ef250713d04d675a16e5b030d7226baafe3f82': h264_cabac: Break infinite loops Conflicts: libavcodec/h264_cabac.c See: cdf0877bc341684c56ac1fe057397adbadf329ee Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264_cabac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index fd88fb3c0a..465ea69a46 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -1712,7 +1712,7 @@ decode_cabac_residual_internal(H264Context *h, int16_t *block,
\
if( coeff_abs >= 15 ) { \
int j = 0; \
- while(get_cabac_bypass( CC ) && j<30) { \
+ while (get_cabac_bypass(CC) && j < 30) { \
j++; \
} \
\