git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf8dec7
)
lavfi/showspectrum: simplify intensity_color_table declaration.
author
Clément Bœsch
<ubitux@gmail.com>
Thu, 14 Feb 2013 22:10:01 +0000
(23:10 +0100)
committer
Clément Bœsch
<ubitux@gmail.com>
Thu, 14 Feb 2013 22:10:01 +0000
(23:10 +0100)
libavfilter/avf_showspectrum.c
patch
|
blob
|
history
diff --git
a/libavfilter/avf_showspectrum.c
b/libavfilter/avf_showspectrum.c
index
f20a2fd
..
6a73df6
100644
(file)
--- 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 },