Skip to content
Snippets Groups Projects
Commit ad561b57 authored by Clément Bœsch's avatar Clément Bœsch
Browse files

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

parent 180aa82c
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment