You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavfi/color: reindent after the previous commit
This commit is contained in:
@@ -69,20 +69,20 @@ static av_cold int color_init(AVFilterContext *ctx, const char *args)
|
|||||||
|
|
||||||
color->class = &color_class;
|
color->class = &color_class;
|
||||||
|
|
||||||
av_opt_set_defaults(color);
|
av_opt_set_defaults(color);
|
||||||
if ((ret = av_set_options_string(color, args, "=", ":")) < 0) {
|
if ((ret = av_set_options_string(color, args, "=", ":")) < 0) {
|
||||||
av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args);
|
av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
if (av_parse_video_rate(&frame_rate_q, color->rate_str) < 0) {
|
if (av_parse_video_rate(&frame_rate_q, color->rate_str) < 0) {
|
||||||
av_log(ctx, AV_LOG_ERROR, "Invalid frame rate: %s\n", color->rate_str);
|
av_log(ctx, AV_LOG_ERROR, "Invalid frame rate: %s\n", color->rate_str);
|
||||||
ret = AVERROR(EINVAL);
|
ret = AVERROR(EINVAL);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
if (av_parse_color(color->color_rgba, color->color_str, -1, ctx) < 0) {
|
if (av_parse_color(color->color_rgba, color->color_str, -1, ctx) < 0) {
|
||||||
ret = AVERROR(EINVAL);
|
ret = AVERROR(EINVAL);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
color->time_base.num = frame_rate_q.den;
|
color->time_base.num = frame_rate_q.den;
|
||||||
color->time_base.den = frame_rate_q.num;
|
color->time_base.den = frame_rate_q.num;
|
||||||
|
Reference in New Issue
Block a user