提交 2378ecdb 编写于 作者: J jp9000

win-dshow: Clear video/audio frame data on init

上级 755f95a3
......@@ -104,6 +104,9 @@ struct DShowInput {
device (InitGraph::False),
comInitialized (false)
{
memset(&audio, 0, sizeof(audio));
memset(&frame, 0, sizeof(frame));
av_log_set_level(AV_LOG_WARNING);
av_log_set_callback(ffmpeg_log);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册