blob: ec67f8414689a7563e36df61d52b89b877901e5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/common/avdecoder.cpp b/common/avdecoder.cpp
index 6e4306d..8c667b2 100644
--- a/common/avdecoder.cpp
+++ b/common/avdecoder.cpp
@@ -350,7 +350,7 @@ QByteArray AVDecoder::WriteJPEG(AVCodecContext *pCodecCtx, AVFrame *pFrame, int
pOCodecCtx->mb_lmin = pOCodecCtx->qmin * FF_QP2LAMBDA;
pOCodecCtx->mb_lmax = pOCodecCtx->qmax * FF_QP2LAMBDA;
- pOCodecCtx->flags = CODEC_FLAG_QSCALE;
+ pOCodecCtx->flags = AV_CODEC_FLAG_QSCALE;
pOCodecCtx->global_quality = pOCodecCtx->qmin * FF_QP2LAMBDA;
pFrame->pts = 1;
|