summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-25 21:35:15 -0300
committerJames Almer <jamrial@gmail.com>2017-03-25 21:37:05 -0300
commitf5c8d004c28d930d780c9164f7ed6005b88b9be5 (patch)
tree5b7bb3096f4aa58c8ecd710b5dc59e7d1c2259ca /libavcodec/aacenc.c
parent2f05d18ee2c74e4c3619bf2ef6a64f686519f3c7 (diff)
avcodec: stop using deprecated codec flags
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r--libavcodec/aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 956e974cb2..11da260742 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -769,7 +769,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
start_ch += chans;
}
- if (avctx->flags & CODEC_FLAG_QSCALE) {
+ if (avctx->flags & AV_CODEC_FLAG_QSCALE) {
/* When using a constant Q-scale, don't mess with lambda */
break;
}