]> git.sesse.net Git - ffmpeg/commitdiff
Fix typo: CODEC_FLAG2_SSIM is in flags2, not in flags.
authorTakashi Mochizuki <mochi@da2.so-net.ne>
Thu, 1 Apr 2010 15:52:50 +0000 (15:52 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Thu, 1 Apr 2010 15:52:50 +0000 (15:52 +0000)
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

libavcodec/libx264.c

index 1ad270f84f9043ca90e3b8fd6fa3b92352b0a25b..1851c9eedb8d119cd60236a2ebd395d928407dc8 100644 (file)
@@ -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;