[FFmpeg-cvslog] swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().
Clément Bœsch
git at videolan.org
Wed Nov 16 07:27:42 CET 2011
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Nov 16 00:30:52 2011 +0100| [ad561b570707c2dab0ef171944888024b7a9d59c] | committer: Clément Bœsch
swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad561b570707c2dab0ef171944888024b7a9d59c
---
libswresample/swresample.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 628f7d8..c6ae726 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;
}
More information about the ffmpeg-cvslog
mailing list