changeset 11568:e2841a104105 libavcodec

Fix typo: CODEC_FLAG2_SSIM is in flags2, not in flags. Patch by Takashi Mochizuki mochi (A) da2 (.) so (dash) net (dot) ne (.) jp
author benoit
date Thu, 01 Apr 2010 15:52:50 +0000
parents 1025297f5624
children 731050abce41
files libx264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libx264.c	Thu Apr 01 06:41:16 2010 +0000
+++ b/libx264.c	Thu Apr 01 15:52:50 2010 +0000
@@ -280,7 +280,7 @@
     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;