Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-07-29 18:26:58 +0400
committerStefano Sabatini <stefasab@gmail.com>2012-07-30 02:33:13 +0400
commit47b6b7a2b9cc80b1c12a3bbd037fa4521363f2ec (patch)
tree3c604e3df63626891fe9ea426e3e2a722f35e1d2 /libavfilter
parente5d617aa6dfc57b00b2cf08390d93e5c6cf9645f (diff)
lavfi/color: reindent after the previous commit
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_color.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libavfilter/vsrc_color.c b/libavfilter/vsrc_color.c
index dd44b8d45c..ca336ace6e 100644
--- a/libavfilter/vsrc_color.c
+++ b/libavfilter/vsrc_color.c
@@ -69,20 +69,20 @@ static av_cold int color_init(AVFilterContext *ctx, const char *args)
color->class = &color_class;
- av_opt_set_defaults(color);
- if ((ret = av_set_options_string(color, args, "=", ":")) < 0) {
- av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args);
- goto end;
- }
- 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);
- ret = AVERROR(EINVAL);
- goto end;
- }
- if (av_parse_color(color->color_rgba, color->color_str, -1, ctx) < 0) {
- ret = AVERROR(EINVAL);
- goto end;
- }
+ av_opt_set_defaults(color);
+ if ((ret = av_set_options_string(color, args, "=", ":")) < 0) {
+ av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args);
+ goto end;
+ }
+ 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);
+ ret = AVERROR(EINVAL);
+ goto end;
+ }
+ if (av_parse_color(color->color_rgba, color->color_str, -1, ctx) < 0) {
+ ret = AVERROR(EINVAL);
+ goto end;
+ }
color->time_base.num = frame_rate_q.den;
color->time_base.den = frame_rate_q.num;