diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-07 03:19:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-07 03:20:23 +0200 |
commit | a7a82f2f22afaac9155ef46b8ff274ad4573b20e (patch) | |
tree | f31420f2363aaf23a8ff355c21bd147dc46f4a57 /libavcodec/libxvid.c | |
parent | 072278c777986fc87dba5b0c372e19115b711a35 (diff) | |
parent | c389a804943095ebf078daec6b64690d2c97069c (diff) | |
download | ffmpeg-a7a82f2f22afaac9155ef46b8ff274ad4573b20e.tar.gz |
Merge commit 'c389a804943095ebf078daec6b64690d2c97069c'
* commit 'c389a804943095ebf078daec6b64690d2c97069c':
libxvid: Add SSIM displaying through a libxvidcore plugin
Conflicts:
libavcodec/libxvid.c
libavcodec/version.h
See: 3b3c1ed0768af874c624cc555fbbd1fcea370200
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libxvid.c')
-rw-r--r-- | libavcodec/libxvid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c index 12b2f705c2..44c8fc3e5d 100644 --- a/libavcodec/libxvid.c +++ b/libavcodec/libxvid.c @@ -560,9 +560,9 @@ static av_cold int xvid_encode_init(AVCodecContext *avctx) { "will be the worse one of the two effects made by the AQ.\n"); /* SSIM */ - if( x->ssim ) { + if (x->ssim) { plugins[xvid_enc_create.num_plugins].func = xvid_plugin_ssim; - ssim.b_printstat = ( x->ssim == 2 ); + ssim.b_printstat = x->ssim == 2; ssim.acc = x->ssim_acc; ssim.cpu_flags = xvid_gbl_init.cpu_flags; ssim.b_visualize = 0; |