Commit 41fdcf32 authored by Alex Viskovatoff's avatar Alex Viskovatoff Committed by Max Kellermann

decoder/mad: work around build failure on Solaris

Rename the "version" struct, because it seems to be a reserved name on Solaris: "src/decoder/mad_decoder_plugin.c", line 550: (enum) tag redeclared: version cc: acomp failed for src/decoder/mad_decoder_plugin.c
parent 144ad799
ver 0.16.1 (2010/??/??)
* audio_check: fix parameter in prototype
* decoder:
- mad: work around build failure on Solaris
* output:
- solaris: add missing parameter to open_cloexec() cal
......
......@@ -547,14 +547,14 @@ enum {
XING_SCALE = 0x00000008L
};
struct version {
struct lame_version {
unsigned major;
unsigned minor;
};
struct lame {
char encoder[10]; /* 9 byte encoder name/version ("LAME3.97b") */
struct version version; /* struct containing just the version */
struct lame_version version; /* struct containing just the version */
float peak; /* replaygain peak */
float track_gain; /* replaygain track gain */
float album_gain; /* replaygain album gain */
......
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