mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 22:10:34 +00:00
swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().
This commit is contained in:
parent
180aa82c1d
commit
ad561b5707
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user