mirror of https://git.ffmpeg.org/ffmpeg.git
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;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
av_assert1((IN_RANGE(from[i], old_base, 1) ||
|
av_assert1(!from[i] ||
|
||||||
IN_RANGE(from[i], old_base->DPB,
|
IN_RANGE(from[i], old_base, 1) ||
|
||||||
H264_MAX_PICTURE_COUNT) ||
|
IN_RANGE(from[i], old_base->DPB, H264_MAX_PICTURE_COUNT));
|
||||||
!from[i]));
|
|
||||||
to[i] = REBASE_PICTURE(from[i], new_base, old_base);
|
to[i] = REBASE_PICTURE(from[i], new_base, old_base);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue