projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0606671
)
4xm: return a proper error code.
author
Anton Khirnov
<anton@khirnov.net>
Tue, 17 Dec 2013 07:33:55 +0000
(08:33 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 6 Jan 2014 07:13:50 +0000
(08:13 +0100)
libavcodec/4xm.c
patch
|
blob
|
history
diff --git
a/libavcodec/4xm.c
b/libavcodec/4xm.c
index 09336b07378a7e6096f63a19443e0f3ed3871720..3ae19182ea6c96355f7e7299953d9da5d88e4642 100644
(file)
--- a/
libavcodec/4xm.c
+++ b/
libavcodec/4xm.c
@@
-928,7
+928,7
@@
static av_cold int decode_init(AVCodecContext *avctx)
if (avctx->extradata_size != 4 || !avctx->extradata) {
av_log(avctx, AV_LOG_ERROR, "extradata wrong or missing\n");
- return
1
;
+ return
AVERROR_INVALIDDATA
;
}
f->version = AV_RL32(avctx->extradata) >> 16;