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
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ SwrContext *swr_alloc(void){ ...@@ -77,7 +77,7 @@ SwrContext *swr_alloc(void){
SwrContext *s= av_mallocz(sizeof(SwrContext)); SwrContext *s= av_mallocz(sizeof(SwrContext));
if(s){ if(s){
s->av_class= &av_class; s->av_class= &av_class;
av_opt_set_defaults2(s, 0, 0); av_opt_set_defaults(s);
} }
return s; return s;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment