Commit 87961a8a authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/flashsv2enc: fix "unused variable" warnings

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b543a290
...@@ -732,7 +732,11 @@ static void recommend_keyframe(FlashSV2Context * s, int *keyframe) ...@@ -732,7 +732,11 @@ static void recommend_keyframe(FlashSV2Context * s, int *keyframe)
#endif #endif
} }
#ifndef FLASHSV2_DUMB
static const double block_size_fraction = 1.0 / 300; 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) static int optimum_block_width(FlashSV2Context * s)
{ {
#ifndef FLASHSV2_DUMB #ifndef FLASHSV2_DUMB
...@@ -757,8 +761,6 @@ static int optimum_block_height(FlashSV2Context * s) ...@@ -757,8 +761,6 @@ static int optimum_block_height(FlashSV2Context * s)
#endif #endif
} }
static const double use15_7_threshold = 8192;
static int optimum_use15_7(FlashSV2Context * s) static int optimum_use15_7(FlashSV2Context * s)
{ {
#ifndef FLASHSV2_DUMB #ifndef FLASHSV2_DUMB
...@@ -774,8 +776,6 @@ static int optimum_use15_7(FlashSV2Context * s) ...@@ -774,8 +776,6 @@ static int optimum_use15_7(FlashSV2Context * s)
#endif #endif
} }
static const double color15_7_factor = 100;
static int optimum_dist(FlashSV2Context * s) static int optimum_dist(FlashSV2Context * s)
{ {
#ifndef FLASHSV2_DUMB #ifndef FLASHSV2_DUMB
......
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