Commit bd8c8259 authored by benoit's avatar benoit

Fix typo: CODEC_FLAG2_SSIM is in flags2, not in flags.

Patch by Takashi Mochizuki mochi (A) da2 (.) so (dash) net (dot) ne (.) jp


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22759 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 84040a5f
...@@ -280,7 +280,7 @@ static av_cold int X264_init(AVCodecContext *avctx) ...@@ -280,7 +280,7 @@ static av_cold int X264_init(AVCodecContext *avctx)
x4->params.analyse.i_chroma_qp_offset = avctx->chromaoffset; x4->params.analyse.i_chroma_qp_offset = avctx->chromaoffset;
x4->params.analyse.b_psnr = avctx->flags & CODEC_FLAG_PSNR; 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.i_log_level = X264_LOG_DEBUG;
x4->params.b_aud = avctx->flags2 & CODEC_FLAG2_AUD; x4->params.b_aud = avctx->flags2 & CODEC_FLAG2_AUD;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment