1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-21 11:44:12 +02:00

avfilter/vf_ssim: Mark constant tables as const

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-07-10 23:34:53 +02:00
parent d759f7f1d0
commit 8fca37d5f8

View File

@ -70,9 +70,9 @@ static const AVOption ssim_options[] = {
AVFILTER_DEFINE_CLASS(ssim);
static int rgb_coefs[4] = { 1, 1, 1, 3};
static int yuv_coefs[4] = { 4, 1, 1, 6};
static int gray_coefs[4] = { 1, 0, 0, 1};
static const int rgb_coefs[4] = { 1, 1, 1, 3};
static const int yuv_coefs[4] = { 4, 1, 1, 6};
static const int gray_coefs[4] = { 1, 0, 0, 1};
static void set_meta(AVDictionary **metadata, const char *key, char comp, float d)
{