diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-11-16 03:30:52 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-11-16 10:27:20 +0400 |
commit | ad561b570707c2dab0ef171944888024b7a9d59c (patch) | |
tree | 8dba27bc3c4b9258d96ead05a9e64ffa6f25b7b6 | |
parent | 180aa82c1d092705c7dc21d07d485c9d03786360 (diff) |
swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().
-rw-r--r-- | libswresample/swresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 628f7d8c73..c6ae726672 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -77,7 +77,7 @@ SwrContext *swr_alloc(void){ SwrContext *s= av_mallocz(sizeof(SwrContext)); if(s){ s->av_class= &av_class; - av_opt_set_defaults2(s, 0, 0); + av_opt_set_defaults(s); } return s; } |