diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-27 23:56:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-27 23:56:41 +0200 |
commit | 6323647c3550fe1aa3d92ff112de2d2f0d8da267 (patch) | |
tree | 8da9cdf91cad0e62c16e07da47ae88133ff4a3a5 /libavcodec/h264_slice.c | |
parent | 29b09233249e9c7e1d37358a82c97ff4d96befa6 (diff) | |
download | ffmpeg-6323647c3550fe1aa3d92ff112de2d2f0d8da267.tar.gz |
avcodec/h264_slice: Reformat IN_RANGE() uses to be readable
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 69401a2107..f755b96f2e 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -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); } } |