mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
avcodec/h264_slice: Reformat IN_RANGE() uses to be readable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
29b0923324
commit
6323647c35
@ -397,10 +397,9 @@ static void copy_picture_range(H264Picture **to, H264Picture **from, int count,
|
||||
int i;
|
||||
|
||||
for (i = 0; i < count; i++) {
|
||||
av_assert1((IN_RANGE(from[i], old_base, 1) ||
|
||||
IN_RANGE(from[i], old_base->DPB,
|
||||
H264_MAX_PICTURE_COUNT) ||
|
||||
!from[i]));
|
||||
av_assert1(!from[i] ||
|
||||
IN_RANGE(from[i], old_base, 1) ||
|
||||
IN_RANGE(from[i], old_base->DPB, H264_MAX_PICTURE_COUNT));
|
||||
to[i] = REBASE_PICTURE(from[i], new_base, old_base);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user