vlc | branch: master | Tristan Matthews <[email protected]> | Wed May 24 20:35:04 2017 -0400| [c88a956c6424cd58ab5f8f51c83bdbd246c492d0] | committer: Tristan Matthews
flac: use library defined constant > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c88a956c6424cd58ab5f8f51c83bdbd246c492d0 --- modules/codec/flac.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/codec/flac.c b/modules/codec/flac.c index 65a78ea772..b53dc8406f 100644 --- a/modules/codec/flac.c +++ b/modules/codec/flac.c @@ -75,9 +75,7 @@ struct decoder_sys_t bool b_stream_info; }; -#define FLAC_MAX_CHANNELS 8 - -static const int pi_channels_maps[FLAC_MAX_CHANNELS + 1] = +static const int pi_channels_maps[FLAC__MAX_CHANNELS + 1] = { 0, AOUT_CHAN_CENTER, @@ -98,7 +96,7 @@ static const int pi_channels_maps[FLAC_MAX_CHANNELS + 1] = }; /* XXX it supposes our internal format is WG4 */ -static const uint8_t ppi_reorder[1+FLAC_MAX_CHANNELS][FLAC_MAX_CHANNELS] = +static const uint8_t ppi_reorder[1+FLAC__MAX_CHANNELS][FLAC__MAX_CHANNELS] = { { }, { 0, }, _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
