aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-02-14 23:10:01 +0100
committerClément Bœsch <ubitux@gmail.com>2013-02-14 23:10:01 +0100
commit0224375180863a854a1e01fc9815b56777f0abc5 (patch)
treed7d3d8bbe50926880d6767c9b26181a0410f3427
parentcf8dec7d642170862675b0821aa6c6fddd8bc9e6 (diff)
downloadffmpeg-0224375180863a854a1e01fc9815b56777f0abc5.tar.gz
lavfi/showspectrum: simplify intensity_color_table declaration.
-rw-r--r--libavfilter/avf_showspectrum.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index f20a2fd3a2..6a73df60a5 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -83,11 +83,9 @@ static const AVOption showspectrum_options[] = {
AVFILTER_DEFINE_CLASS(showspectrum);
-typedef struct {
+static const struct {
float a, y, u, v;
-} intensity_color_table_item;
-static const intensity_color_table_item intensity_color_table[] =
-{
+} intensity_color_table[] = {
{ 0, 0, 0, 0 },
{ 0.13, .03587126228984074, .1573300977624594, -.02548747583751842 },
{ 0.30, .18572281794568020, .1772436246393981, .17475554840414750 },