summaryrefslogtreecommitdiff
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorTakashi Mochizuki <mochi@da2.so-net.ne>2010-04-01 15:52:50 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2010-04-01 15:52:50 +0000
commitd749da7e8b3284636072d739083bec0c7077fcd3 (patch)
tree36014e8e6e803142136880ec405779e2994f092e /libavcodec/libx264.c
parentccf8c2944c90c31dd479ce7ff2e1f1afb4f20d04 (diff)
Fix typo: CODEC_FLAG2_SSIM is in flags2, not in flags.
Patch by Takashi Mochizuki mochi (A) da2 (.) so (dash) net (dot) ne (.) jp Originally committed as revision 22759 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r--libavcodec/libx264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 1ad270f84f..1851c9eedb 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -280,7 +280,7 @@ static av_cold int X264_init(AVCodecContext *avctx)
x4->params.analyse.i_chroma_qp_offset = avctx->chromaoffset;
x4->params.analyse.b_psnr = avctx->flags & CODEC_FLAG_PSNR;
- x4->params.analyse.b_ssim = avctx->flags & CODEC_FLAG2_SSIM;
+ x4->params.analyse.b_ssim = avctx->flags2 & CODEC_FLAG2_SSIM;
x4->params.i_log_level = X264_LOG_DEBUG;
x4->params.b_aud = avctx->flags2 & CODEC_FLAG2_AUD;