diff options
author | James Almer <jamrial@gmail.com> | 2017-03-25 21:35:15 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-25 21:37:05 -0300 |
commit | f5c8d004c28d930d780c9164f7ed6005b88b9be5 (patch) | |
tree | 5b7bb3096f4aa58c8ecd710b5dc59e7d1c2259ca /libavcodec/snowenc.c | |
parent | 2f05d18ee2c74e4c3619bf2ef6a64f686519f3c7 (diff) | |
download | ffmpeg-f5c8d004c28d930d780c9164f7ed6005b88b9be5.tar.gz |
avcodec: stop using deprecated codec flags
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/snowenc.c')
-rw-r--r-- | libavcodec/snowenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 5cc7997f5c..ca55914d9e 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -106,11 +106,11 @@ FF_ENABLE_DEPRECATION_WARNINGS if (!avctx->stats_out) return AVERROR(ENOMEM); } - if((avctx->flags&AV_CODEC_FLAG_PASS2) || !(avctx->flags&CODEC_FLAG_QSCALE)){ + if((avctx->flags&AV_CODEC_FLAG_PASS2) || !(avctx->flags&AV_CODEC_FLAG_QSCALE)){ if(ff_rate_control_init(&s->m) < 0) return -1; } - s->pass1_rc= !(avctx->flags & (AV_CODEC_FLAG_QSCALE|CODEC_FLAG_PASS2)); + s->pass1_rc= !(avctx->flags & (AV_CODEC_FLAG_QSCALE|AV_CODEC_FLAG_PASS2)); switch(avctx->pix_fmt){ case AV_PIX_FMT_YUV444P: |