projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
163682f
)
cljr: return a more sensible value when encountering invalid headers
author
Diego Biurrun
<diego@biurrun.de>
Thu, 8 Dec 2011 14:53:27 +0000
(15:53 +0100)
committer
Diego Biurrun
<diego@biurrun.de>
Thu, 8 Dec 2011 19:28:27 +0000
(20:28 +0100)
libavcodec/cljr.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/cljr.c
b/libavcodec/cljr.c
index
bc70d1b
..
187e86d
100644
(file)
--- a/
libavcodec/cljr.c
+++ b/
libavcodec/cljr.c
@@
-61,7
+61,7
@@
static int decode_frame(AVCodecContext *avctx,
if(buf_size/avctx->height < avctx->width) {
av_log(avctx, AV_LOG_ERROR, "Resolution larger than buffer size. Invalid header?\n");
- return
-1
;
+ return
AVERROR_INVALIDDATA
;
}
p->reference= 0;