mirror of https://git.ffmpeg.org/ffmpeg.git
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