Browse Source

cinepak: simplify, use FFMIN()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
111ffa55b7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/cinepak.c

+ 1
- 2
libavcodec/cinepak.c View File

@@ -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;



Loading…
Cancel
Save