Commit 111ffa55 authored by Michael Niedermayer's avatar Michael Niedermayer

cinepak: simplify, use FFMIN()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 69a501e6
...@@ -357,8 +357,7 @@ static int cinepak_decode (CinepakContext *s) ...@@ -357,8 +357,7 @@ static int cinepak_decode (CinepakContext *s)
s->data += 10 + s->sega_film_skip_bytes; s->data += 10 + s->sega_film_skip_bytes;
if (num_strips > MAX_STRIPS) num_strips = FFMIN(num_strips, MAX_STRIPS);
num_strips = MAX_STRIPS;
s->frame.key_frame = 0; s->frame.key_frame = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment