diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-25 20:28:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-25 20:34:51 +0200 |
commit | e403a97aac0cf73c011d578bb83d81e7f266d839 (patch) | |
tree | da1626ed09715dba7488dfb5d93e7986654182e5 /libavcodec | |
parent | 1ca1336067aaad80f223477b763b620ac5f61699 (diff) | |
download | ffmpeg-streaming-e403a97aac0cf73c011d578bb83d81e7f266d839.zip ffmpeg-streaming-e403a97aac0cf73c011d578bb83d81e7f266d839.tar.gz |
h264: 10l fix, missing () after replacing % by &
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index ce633ea..46a4bb5 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); } |