summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-22 11:36:50 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-23 00:42:51 +0200
commit1dce2368bb63c678d41f6c556ffdb155d252f015 (patch)
tree7ff43ba9aa6ceaee4e712f75703544dfa4fd5e65 /libavfilter/buffersrc.c
parent201b409da0d81dce19caa1393fe1c9f8e17aeb92 (diff)
lavfi/buffer: apply misc consistency nits
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r--libavfilter/buffersrc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 4debd5f257..01459a3a2f 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -250,7 +250,7 @@ static av_cold int init_video(AVFilterContext *ctx, const char *args, void *opaq
av_opt_set_defaults(c);
ret = av_set_options_string(c, args, "=", ":");
if (ret < 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 fail;
}
} else {
@@ -261,7 +261,7 @@ static av_cold int init_video(AVFilterContext *ctx, const char *args, void *opaq
ret = AVERROR(EINVAL);
goto fail;
}
- av_log(ctx, AV_LOG_WARNING, "Flat options syntax is deprecated, use key=value pairs.\n");
+ av_log(ctx, AV_LOG_WARNING, "Flat options syntax is deprecated, use key=value pairs\n");
if ((ret = ff_parse_pixel_format(&c->pix_fmt, pix_fmt_str, ctx)) < 0)
goto fail;
@@ -308,13 +308,13 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args, void *opaq
av_opt_set_defaults(s);
if ((ret = av_set_options_string(s, 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 fail;
}
s->sample_fmt = av_get_sample_fmt(s->sample_fmt_str);
if (s->sample_fmt == AV_SAMPLE_FMT_NONE) {
- av_log(ctx, AV_LOG_ERROR, "Invalid sample format %s.\n",
+ av_log(ctx, AV_LOG_ERROR, "Invalid sample format '%s'\n",
s->sample_fmt_str);
ret = AVERROR(EINVAL);
goto fail;
@@ -322,7 +322,7 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args, void *opaq
s->channel_layout = av_get_channel_layout(s->channel_layout_str);
if (!s->channel_layout) {
- av_log(ctx, AV_LOG_ERROR, "Invalid channel layout %s.\n",
+ av_log(ctx, AV_LOG_ERROR, "Invalid channel layout '%s'\n",
s->channel_layout_str);
ret = AVERROR(EINVAL);
goto fail;