diff options
Diffstat (limited to 'libavfilter/avf_showwaves.c')
-rw-r--r-- | libavfilter/avf_showwaves.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index 96ed2c7ebc..e040d8ed2c 100644 --- a/libavfilter/avf_showwaves.c +++ b/libavfilter/avf_showwaves.c @@ -66,10 +66,8 @@ static av_cold int init(AVFilterContext *ctx, const char *args) av_opt_set_defaults(showwaves); showwaves->buf_idx = 0; - if ((err = av_set_options_string(showwaves, args, "=", ":")) < 0) { - av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args); + if ((err = av_set_options_string(showwaves, args, "=", ":")) < 0) return err; - } return 0; } |