On 30/12/2019 19:20, James Almer wrote:
> + snprintf(cqp, sizeof(cqp), "%d", ctx->cqp);
> + if (ctx->api->param_parse(ctx->params, "qp", cqp) ==
> X265_PARAM_BAD_VALUE) {
> + av_log(avctx, AV_LOG_ERROR, "Invalid cqp: %d.\n", ctx->cqp);
> + return AVERROR(EINVAL);
> + }
Is the reason this doesn't use parse_int so that this error message can be
given?
Otherwise, 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".