comparison vamp-json/VampJson.h @ 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
comparison
equal deleted inserted replaced
174:59c89b0e9375 175:7532233f8e49
303 if (!j.is_object()) { 303 if (!j.is_object()) {
304 err = "object expected for output descriptor"; 304 err = "object expected for output descriptor";
305 return {}; 305 return {};
306 } 306 }
307 307
308 od = toConfiguredOutputDescriptor(j, err); 308 od = toConfiguredOutputDescriptor(j["configured"], err);
309 if (failed(err)) return {}; 309 if (failed(err)) return {};
310 310
311 toBasicDescriptor(j["basic"], od, err); 311 toBasicDescriptor(j["basic"], od, err);
312 if (failed(err)) return {}; 312 if (failed(err)) return {};
313 313