Use the constant instead of the numeric value
This commit is contained in:
@@ -498,7 +498,7 @@ AVCodecEncoder::_OpenCodecIfNeeded()
|
|||||||
if (fCodecInitStatus == CODEC_INIT_FAILED)
|
if (fCodecInitStatus == CODEC_INIT_FAILED)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
fCodecContext->strict_std_compliance = -2;
|
fCodecContext->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
|
||||||
|
|
||||||
// Some codecs need this to be set before open
|
// Some codecs need this to be set before open
|
||||||
fFrame->format = fCodecContext->pix_fmt;
|
fFrame->format = fCodecContext->pix_fmt;
|
||||||
|
|||||||
Reference in New Issue
Block a user