OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9665217
)
avcodec/dpx: return proper error code for unsupported files
author
Paul B Mahol
<onemda@gmail.com>
Sat, 5 Oct 2013 12:18:28 +0000
(12:18 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Sat, 5 Oct 2013 12:26:21 +0000
(12:26 +0000)
Also use avpriv_report_missing_feature().
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/dpx.c
patch
|
blob
|
history
diff --git
a/libavcodec/dpx.c
b/libavcodec/dpx.c
index
f949264
..
600a735
100644
(file)
--- a/
libavcodec/dpx.c
+++ b/
libavcodec/dpx.c
@@
-158,8
+158,8
@@
static int decode_frame(AVCodecContext *avctx,
elements = 3;
break;
default:
- av
_log(avctx, AV_LOG_ERROR, "Unsupported descriptor %d\n
", descriptor);
- return AVERROR_
INVALIDDATA
;
+ av
priv_report_missing_feature(avctx, "Descriptor %d
", descriptor);
+ return AVERROR_
PATCHWELCOME
;
}
switch (bits_per_color) {