shithub: libvpx

Download patch

ref: 112eb54c1bf0f77def1da3bd18f43a7f00677da7
parent: 33aef48f29c36b80c03911462891f9f43ee1a5ad
parent: 6eca31be5f9d0ad7bf272e15437c6c3b94a5c7d2
author: James Zern <[email protected]>
date: Fri Sep 16 13:30:44 EDT 2016

Merge "vpx_codec_control: return incapable for unmatched control"

--- a/vpx/src/vpx_codec.c
+++ b/vpx/src/vpx_codec.c
@@ -95,7 +95,7 @@
   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) {