aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-28 15:29:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-28 15:50:35 +0200
commit87961a8a504adf775ed0c58483e26d85827c34aa (patch)
tree65762929bc8e634332345d24f139e1e0f9e43df9 /libavcodec
parentb543a29020232400537c3f9948f6eb2fd3b760a5 (diff)
downloadffmpeg-87961a8a504adf775ed0c58483e26d85827c34aa.tar.gz
avcodec/flashsv2enc: fix "unused variable" warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/flashsv2enc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c
index 436daa4be2..9735a13331 100644
--- a/libavcodec/flashsv2enc.c
+++ b/libavcodec/flashsv2enc.c
@@ -732,7 +732,11 @@ static void recommend_keyframe(FlashSV2Context * s, int *keyframe)
#endif
}
+#ifndef FLASHSV2_DUMB
static const double block_size_fraction = 1.0 / 300;
+static const double use15_7_threshold = 8192;
+static const double color15_7_factor = 100;
+#endif
static int optimum_block_width(FlashSV2Context * s)
{
#ifndef FLASHSV2_DUMB
@@ -757,8 +761,6 @@ static int optimum_block_height(FlashSV2Context * s)
#endif
}
-static const double use15_7_threshold = 8192;
-
static int optimum_use15_7(FlashSV2Context * s)
{
#ifndef FLASHSV2_DUMB
@@ -774,8 +776,6 @@ static int optimum_use15_7(FlashSV2Context * s)
#endif
}
-static const double color15_7_factor = 100;
-
static int optimum_dist(FlashSV2Context * s)
{
#ifndef FLASHSV2_DUMB