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

This commit is contained in:
jp9000
2014-09-12 19:53:18 -07:00
parent 755f95a3a7
commit 2378ecdbb5

View File

@@ -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);
}