ctx = &aprofile->ctx;
+ ctx->profile = FF_PROFILE_H264_BASELINE;
+ ctx->level = 31;
+
for (param = switch_xml_child(profile, "param"); param; param = param->next) {
const char *name = switch_xml_attr(param, "name");
const char *value = switch_xml_attr(param, "value");
val = atoi(value);
- ctx->profile = FF_PROFILE_H264_BASELINE;
- ctx->level = 31;
-
if (!strcmp(name, "dec-threads")) {
aprofile->decoder_thread_count = switch_parse_cpu_string(value);
} else if (!strcmp(name, "enc-threads")) {