- ff_video_frame_pool_uninit((FFVideoFramePool **)&link->video_frame_pool);
- link->video_frame_pool = ff_video_frame_pool_init(av_buffer_allocz, w, h,
- link->format, BUFFER_ALIGN);
- if (!link->video_frame_pool)
+ ff_frame_pool_uninit((FFFramePool **)&link->frame_pool);
+ link->frame_pool = ff_frame_pool_video_init(av_buffer_allocz, w, h,
+ link->format, BUFFER_ALIGN);
+ if (!link->frame_pool)