swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().

This commit is contained in:
Clément Bœsch 2011-11-16 00:30:52 +01:00
parent 180aa82c1d
commit ad561b5707
1 changed files with 1 additions and 1 deletions

View File

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