Follow the example in FFmpeg's doc, before calling the API `avcodec_send_frame`, always use `av_frame_alloc` to create a new frame. --------- Co-authored-by: Haibo Chen <495810242@qq.com>
The reference docs.
SRS 4.0 English
SRS 4.0 中文文档
SRS 5.0 English
SRS 5.0 中文文档
Winlin