Skip to content
Snippets Groups Projects
Commit a2b51fe8 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö
Browse files

cinepak: simplify, use FFMIN()

parent b55aa7df
No related branches found
No related tags found
No related merge requests found
...@@ -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;
for (i=0; i < num_strips; i++) { for (i=0; i < num_strips; i++) {
if ((s->data + 12) > eod) if ((s->data + 12) > eod)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment