Browse Source

avcodec/h264_slice: Reformat IN_RANGE() uses to be readable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
6323647c35
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      libavcodec/h264_slice.c

+ 3
- 4
libavcodec/h264_slice.c View File

@@ -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…
Cancel
Save