projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcbc476
)
vpx_codec_control: return incapable for unmatched control
author
James Zern
<jzern@google.com>
Sat, 10 Sep 2016 00:37:13 +0000
(17:37 -0700)
committer
James Zern
<jzern@google.com>
Sat, 10 Sep 2016 00:40:10 +0000
(17:40 -0700)
VPX_CODEC_INCAPABLE rather than the more generic VPX_CODEC_ERROR
Change-Id: Id1ed7fb23a2910192713c6b2389c0b7320201f52
vpx/src/vpx_codec.c
patch
|
blob
|
history
diff --git
a/vpx/src/vpx_codec.c
b/vpx/src/vpx_codec.c
index
f222b9e
..
10331aa
100644
(file)
--- a/
vpx/src/vpx_codec.c
+++ b/
vpx/src/vpx_codec.c
@@
-95,7
+95,7
@@
vpx_codec_err_t vpx_codec_control_(vpx_codec_ctx_t *ctx, int ctrl_id, ...) {
else {
vpx_codec_ctrl_fn_map_t *entry;
- res = VPX_CODEC_
ERROR
;
+ res = VPX_CODEC_
INCAPABLE
;
for (entry = ctx->iface->ctrl_maps; entry && entry->fn; entry++) {
if (!entry->ctrl_id || entry->ctrl_id == ctrl_id) {