summaryrefslogtreecommitdiff
path: root/libavfilter/src_movie.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-08-09 00:49:27 +0200
committerClément Bœsch <ubitux@gmail.com>2012-08-09 08:11:00 +0200
commitcc650cf029d8a2aa3c245b014363db673fd2d722 (patch)
tree19cd52f75fb09d8c11b52e5b83bf66f73acdbfd0 /libavfilter/src_movie.c
parent5d8e54fe1ded58cd2d76c112041f5202ce762aef (diff)
Remove "Error parsing options string [...]" messages.
This reduces from 3 to 2 messages for the same syntax error in ffprobe, and from 4 to 3 in filters.
Diffstat (limited to 'libavfilter/src_movie.c')
-rw-r--r--libavfilter/src_movie.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c
index 56e7083869..09dfe5d214 100644
--- a/libavfilter/src_movie.c
+++ b/libavfilter/src_movie.c
@@ -205,10 +205,8 @@ static av_cold int movie_init(AVFilterContext *ctx, const char *args)
return AVERROR(EINVAL);
}
- if (*args++ == ':' && (ret = av_set_options_string(movie, args, "=", ":")) < 0) {
- av_log(ctx, AV_LOG_ERROR, "Error parsing options string: '%s'\n", args);
+ if (*args++ == ':' && (ret = av_set_options_string(movie, args, "=", ":")) < 0)
return ret;
- }
movie->seek_point = movie->seek_point_d * 1000000 + 0.5;