You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
cinepak: simplify, use FFMIN()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -357,8 +357,7 @@ static int cinepak_decode (CinepakContext *s)
|
||||
|
||||
s->data += 10 + s->sega_film_skip_bytes;
|
||||
|
||||
if (num_strips > MAX_STRIPS)
|
||||
num_strips = MAX_STRIPS;
|
||||
num_strips = FFMIN(num_strips, MAX_STRIPS);
|
||||
|
||||
s->frame.key_frame = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user