mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
cinepack: print an error if cinepak_decode() failed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b4bb996d6f
commit
0a707da37b
@ -451,7 +451,9 @@ static int cinepak_decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
}
|
||||
|
||||
cinepak_decode(s);
|
||||
if ((ret = cinepak_decode(s)) < 0) {
|
||||
av_log(avctx, AV_LOG_ERROR, "cinepak_decode failed\n");
|
||||
}
|
||||
|
||||
if (s->palette_video)
|
||||
memcpy (s->frame.data[1], s->pal, AVPALETTE_SIZE);
|
||||
|
Loading…
Reference in New Issue
Block a user