1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

lavfi/showspectrum: simplify intensity_color_table declaration.

This commit is contained in:
Clément Bœsch
2013-02-14 23:10:01 +01:00
parent cf8dec7d64
commit 0224375180

View File

@@ -83,11 +83,9 @@ static const AVOption showspectrum_options[] = {
AVFILTER_DEFINE_CLASS(showspectrum); AVFILTER_DEFINE_CLASS(showspectrum);
typedef struct { static const struct {
float a, y, u, v; float a, y, u, v;
} intensity_color_table_item; } intensity_color_table[] = {
static const intensity_color_table_item intensity_color_table[] =
{
{ 0, 0, 0, 0 }, { 0, 0, 0, 0 },
{ 0.13, .03587126228984074, .1573300977624594, -.02548747583751842 }, { 0.13, .03587126228984074, .1573300977624594, -.02548747583751842 },
{ 0.30, .18572281794568020, .1772436246393981, .17475554840414750 }, { 0.30, .18572281794568020, .1772436246393981, .17475554840414750 },