changeset 175:7532233f8e49

Fix typo / wrong indexing in calling code to parsing configured output descriptor.
author Lucas Thompson <dev@lucas.im>
date Tue, 31 Jan 2017 22:54:08 +0000
parents 59c89b0e9375
children 60dc013bd69c
files vamp-json/VampJson.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vamp-json/VampJson.h	Tue Jan 31 22:47:12 2017 +0000
+++ b/vamp-json/VampJson.h	Tue Jan 31 22:54:08 2017 +0000
@@ -305,7 +305,7 @@
             return {};
         }
 
-        od = toConfiguredOutputDescriptor(j, err);
+        od = toConfiguredOutputDescriptor(j["configured"], err);
         if (failed(err)) return {};
     
         toBasicDescriptor(j["basic"], od, err);