summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-25 20:28:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-25 20:34:51 +0200
commite403a97aac0cf73c011d578bb83d81e7f266d839 (patch)
treeda1626ed09715dba7488dfb5d93e7986654182e5 /libavcodec/h264.c
parent1ca1336067aaad80f223477b763b620ac5f61699 (diff)
h264: 10l fix, missing () after replacing % by &
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index ce633eab13..46a4bb5dbd 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3864,7 +3864,7 @@ static int decode_nal_units(H264Context *h, const uint8_t *buf, int buf_size){
break;
if ( h->sei_recovery_frame_cnt >= 0
- && (h->recovery_frame - h->frame_num) & ((1 << h->sps.log2_max_frame_num)-1) > h->sei_recovery_frame_cnt) {
+ && ((h->recovery_frame - h->frame_num) & ((1 << h->sps.log2_max_frame_num)-1)) > h->sei_recovery_frame_cnt) {
h->recovery_frame = (h->frame_num + h->sei_recovery_frame_cnt) %
(1 << h->sps.log2_max_frame_num);
}