| 46 | } AResampleContext; |
| 47 | |
| 48 | static av_cold int preinit(AVFilterContext *ctx) |
| 49 | { |
| 50 | AResampleContext *aresample = ctx->priv; |
| 51 | |
| 52 | aresample->next_pts = AV_NOPTS_VALUE; |
| 53 | aresample->swr = swr_alloc(); |
| 54 | if (!aresample->swr) |
| 55 | return AVERROR(ENOMEM); |
| 56 | |
| 57 | return 0; |
| 58 | } |
| 59 | |
| 60 | static av_cold void uninit(AVFilterContext *ctx) |
| 61 | { |
nothing calls this directly
no test coverage detected