diff options
Diffstat (limited to 'libavfilter/asrc_anullsrc.c')
-rw-r--r-- | libavfilter/asrc_anullsrc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/asrc_anullsrc.c b/libavfilter/asrc_anullsrc.c index 3df542942b..008cb2a01b 100644 --- a/libavfilter/asrc_anullsrc.c +++ b/libavfilter/asrc_anullsrc.c @@ -64,10 +64,8 @@ static int init(AVFilterContext *ctx, const char *args) null->class = &anullsrc_class; av_opt_set_defaults(null); - if ((ret = (av_set_options_string(null, args, "=", ":"))) < 0) { - av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args); + if ((ret = (av_set_options_string(null, args, "=", ":"))) < 0) return ret; - } if ((ret = ff_parse_sample_rate(&null->sample_rate, null->sample_rate_str, ctx)) < 0) |