From ee3e1cbe0bfaf2f7fa82c44f7c3f5656663a5043 Mon Sep 17 00:00:00 2001 From: JackBurton79 Date: Tue, 14 Aug 2018 13:48:33 +0200 Subject: [PATCH] Use the constant instead of the numeric value --- src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp b/src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp index be90d0bb31..2e922e8d2c 100644 --- a/src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp +++ b/src/add-ons/media/plugins/ffmpeg/AVCodecEncoder.cpp @@ -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;