[FFmpeg-cvslog] r22759 - trunk/libavcodec/libx264.c

benoit subversion
Thu Apr 1 17:52:51 CEST 2010


Author: benoit
Date: Thu Apr  1 17:52:50 2010
New Revision: 22759

Log:
Fix typo: CODEC_FLAG2_SSIM is in flags2, not in flags.
Patch by Takashi Mochizuki mochi (A) da2 (.) so (dash) net (dot) ne (.) jp

Modified:
   trunk/libavcodec/libx264.c

Modified: trunk/libavcodec/libx264.c
==============================================================================
--- trunk/libavcodec/libx264.c	Thu Apr  1 14:09:33 2010	(r22758)
+++ trunk/libavcodec/libx264.c	Thu Apr  1 17:52:50 2010	(r22759)
@@ -280,7 +280,7 @@ static av_cold int X264_init(AVCodecCont
     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;



More information about the ffmpeg-cvslog mailing list