[FFmpeg-devel] [PATCH 5/6] swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().

Clément Bœsch ubitux at gmail.com
Wed Nov 16 00:36:16 CET 2011


---
 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;
 }
-- 
1.7.7.3



More information about the ffmpeg-devel mailing list