diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-04 11:42:41 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-07 11:19:43 +0200 |
commit | 79eff9132581af69fbbd2674337b75fad29aa306 (patch) | |
tree | 598c62f3e4bbbb3714aaaed3ac7bc47cc91e8610 /libavfilter/vsrc_movie.c | |
parent | a7e2b2ccc9e184820f13894de6cb7e49abcb6130 (diff) | |
download | ffmpeg-streaming-79eff9132581af69fbbd2674337b75fad29aa306.zip ffmpeg-streaming-79eff9132581af69fbbd2674337b75fad29aa306.tar.gz |
AVOptions: deprecate av_opt_set_defaults2
It's a hack which was created to allow for multiple options with
different defaults to refer to same field (e.g. 'b' vs 'ab'). There is
no need for it anymore.
Diffstat (limited to 'libavfilter/vsrc_movie.c')
-rw-r--r-- | libavfilter/vsrc_movie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index b018ba7..a5d5572 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -164,7 +164,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque) MovieContext *movie = ctx->priv; int ret; movie->class = &movie_class; - av_opt_set_defaults2(movie, 0, 0); + av_opt_set_defaults(movie); if (args) movie->file_name = av_get_token(&args, ":"); |