Skip to content

Commit

Permalink
未初期化変数があったのを修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Jan 30, 2017
1 parent 82030fc commit b1390f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions VCECore/avcodec_reader.cpp
Expand Up @@ -1111,6 +1111,9 @@ AMF_RESULT CAvcodecReader::init(shared_ptr<VCELog> pLog, shared_ptr<VCEStatus> p
m_Demux.qVideoPkt.set_capacity(256);
}
} else {
//スレッド関連初期化 (スレッドは使用しないが、pQueueInfoはnullにしておく必要がある)
m_Demux.thread.pQueueInfo = nullptr;
m_Demux.thread.bAbortInput = false;
//音声との同期とかに使うので、動画の情報を格納する
m_Demux.video.nAvgFramerate = av_make_q(input_prm->nVideoAvgFramerate.first, input_prm->nVideoAvgFramerate.second);

Expand Down

0 comments on commit b1390f2

Please sign in to comment.