We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c58ebe7 commit 5f2a237Copy full SHA for 5f2a237
src/AvTranscoder/AvInputStream.cpp
@@ -36,6 +36,8 @@ AvInputStream::AvInputStream( InputFile& inputFile, const size_t streamIndex )
36
, m_streamIndex( streamIndex )
37
, m_bufferized( false )
38
{
39
+ if( m_inputFile->getFormatContext().streams[m_streamIndex]->codec->codec_type == AVMEDIA_TYPE_AUDIO )
40
+ m_inputFile->getFormatContext().streams[m_streamIndex]->codec->block_align = 5760;
41
}
42
43
AvInputStream::~AvInputStream( )
0 commit comments