You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user