Commit ad561b57 authored by Clément Bœsch's avatar Clément Bœsch

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

parent 180aa82c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment