On 30/12/2019 19:20, James Almer wrote:
> + if (ctx->api->param_parse(ctx->params, key, buf) ==
> X265_PARAM_BAD_VALUE) {
> + av_log(avctx, AV_LOG_ERROR, "Invalid value %d for param \"%s\".\n",
> value, key);
> + return AVERROR(EINVAL);
> + }
Does returning error make sense here (soft fail)?
Code LGTM.
- Derek
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".