Use the constant instead of the numeric value

This commit is contained in:
JackBurton79 2018-08-14 13:48:33 +02:00
parent 7457ccb4b2
commit ee3e1cbe0b

View File

@ -498,7 +498,7 @@ AVCodecEncoder::_OpenCodecIfNeeded()
if (fCodecInitStatus == CODEC_INIT_FAILED)
return false;
fCodecContext->strict_std_compliance = -2;
fCodecContext->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
// Some codecs need this to be set before open
fFrame->format = fCodecContext->pix_fmt;