aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/dnxhdenc.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-09-29 15:27:59 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-09-29 15:27:59 +0200
commit773570a9dce94922471530d29585e5e87ff64f7a (patch)
tree70f82cc0f1652a8063e6deae287cca1ed0ecc3e5 /libavcodec/dnxhdenc.c
parent24fea89983756fcd9bfee475581a7b049b3ad8ee (diff)
parentcf7d2f2d2134c0854edf2db91e7436ac2bc9874f (diff)
downloadffmpeg-773570a9dce94922471530d29585e5e87ff64f7a.tar.gz
Merge commit 'cf7d2f2d2134c0854edf2db91e7436ac2bc9874f'
* commit 'cf7d2f2d2134c0854edf2db91e7436ac2bc9874f': lavc: Simplify checking quant bias option Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index af843996e9..7d96cd4f78 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -360,8 +360,7 @@ static av_cold int dnxhd_encode_init(AVCodecContext *avctx)
#if FF_API_QUANT_BIAS
FF_DISABLE_DEPRECATION_WARNINGS
- if (ctx->intra_quant_bias == FF_DEFAULT_QUANT_BIAS &&
- avctx->intra_quant_bias != FF_DEFAULT_QUANT_BIAS)
+ if (avctx->intra_quant_bias != FF_DEFAULT_QUANT_BIAS)
ctx->intra_quant_bias = avctx->intra_quant_bias;
FF_ENABLE_DEPRECATION_WARNINGS
#endif