lavc: use av_mallocz to allocate AVFrames.
Otherwise the frame is uninitialized, so avcodec_get_frame_defaults() cannot determine whether to free extended_data.
Showing
想要评论请 注册 或 登录
Otherwise the frame is uninitialized, so avcodec_get_frame_defaults() cannot determine whether to free extended_data.