diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 628f7d8c7342515ccbf1f593878ad7731b70e906..c6ae7266722a310ed20882bc13a5f1e7e69db282 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -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; }