git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4bb996
)
cinepack: print an error if cinepak_decode() failed
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 16 Feb 2013 12:49:04 +0000
(13:49 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 16 Feb 2013 12:49:04 +0000
(13:49 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cinepak.c
patch
|
blob
|
history
diff --git
a/libavcodec/cinepak.c
b/libavcodec/cinepak.c
index
b323da4
..
54ad51c
100644
(file)
--- a/
libavcodec/cinepak.c
+++ b/
libavcodec/cinepak.c
@@
-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);