diff --git a/libmp3lame/VbrTag.c b/libmp3lame/VbrTag.c index 2ea6dda..24e1d42 100644 --- a/libmp3lame/VbrTag.c +++ b/libmp3lame/VbrTag.c @@ -1,3 +1,9 @@ +/* + * Modified for Tonalis on 2026-12-03 and 2026-12-04: compiler and static analyzer warning + * fixes only (explicit casts, unused variables and stores, comma operators, doc comments, + * zero-initialized local arrays), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * Xing VBR tagging for LAME. * @@ -218,7 +224,7 @@ IsVbrTag(const unsigned char *buf) return (isTag0 || isTag1); } -#define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(-1 << (n)) ) ) +#define SHIFT_IN_BITS_VALUE(x,n,v) ( x = (x << (n)) | ( (v) & ~(~0u << (n)) ) ) static void setLameTagFrameHeader(lame_internal_flags const *gfc, unsigned char *buffer) @@ -394,10 +400,8 @@ GetVbrTag(VBRTAGDATA * pTagData, const unsigned char *buf) } if (head_flags & TOC_FLAG) { - if (pTagData->toc != NULL) { - for (i = 0; i < NUMTOCENTRIES; i++) - pTagData->toc[i] = buf[i]; - } + for (i = 0; i < NUMTOCENTRIES; i++) + pTagData->toc[i] = buf[i]; buf += NUMTOCENTRIES; } @@ -593,7 +597,6 @@ PutLameVBR(lame_global_flags const *gfp, size_t nMusicLength, uint8_t * pbtStrea SessionConfig_t const *const cfg = &gfc->cfg; int nBytesWritten = 0; - int i; int enc_delay = gfc->ov_enc.encoder_delay; /* encoder delay */ int enc_padding = gfc->ov_enc.encoder_padding; /* encoder padding */ @@ -965,7 +968,7 @@ lame_get_lametag_frame(lame_global_flags const *gfp, unsigned char *buffer, size /* Put total audio stream size, including Xing/LAME Header */ stream_size = gfc->VBR_seek_table.nBytesWritten + gfc->VBR_seek_table.TotalFrameSize; - CreateI4(&buffer[nStreamIndex], stream_size); + CreateI4(&buffer[nStreamIndex], (uint32_t) stream_size); nStreamIndex += 4; /* Put TOC */ @@ -982,7 +985,7 @@ lame_get_lametag_frame(lame_global_flags const *gfp, unsigned char *buffer, size uint16_t crc = 0x00; crc = CRC_update_lookup(crc, buffer, nStreamIndex); /*Put LAME VBR info */ - nStreamIndex += PutLameVBR(gfp, stream_size, buffer + nStreamIndex, crc); + (void) PutLameVBR(gfp, stream_size, buffer + nStreamIndex, crc); } #ifdef DEBUG_VBRTAG @@ -1036,7 +1039,7 @@ PutVbrTag(lame_global_flags const *gfp, FILE * fpStream) id3v2TagSize = skipId3v2(fpStream); if (id3v2TagSize < 0) { - return id3v2TagSize; + return (int) id3v2TagSize; } /*Seek to the beginning of the stream */ diff --git a/libmp3lame/bitstream.c b/libmp3lame/bitstream.c index 0de64e3..a66dd2f 100644 --- a/libmp3lame/bitstream.c +++ b/libmp3lame/bitstream.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-03: compiler warning fixes only (explicit casts, + * unused variables, comma operators, doc comments), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * MP3 bitstream Output interface for LAME * @@ -987,10 +992,10 @@ format_bitstream(lame_internal_flags * gfc) static int do_gain_analysis(lame_internal_flags * gfc, unsigned char* buffer, int minimum) { +#ifdef DECODE_ON_THE_FLY SessionConfig_t const *const cfg = &gfc->cfg; RpgStateVar_t const *const rsv = &gfc->sv_rpg; RpgResult_t *const rov = &gfc->ov_rpg; -#ifdef DECODE_ON_THE_FLY if (cfg->decode_on_the_fly) { /* decode the frame */ sample_t pcm_buf[2][1152]; int mp3_in = minimum; diff --git a/libmp3lame/gain_analysis.c b/libmp3lame/gain_analysis.c index c94db78..18dd7ec 100644 --- a/libmp3lame/gain_analysis.c +++ b/libmp3lame/gain_analysis.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-03: compiler warning fixes only (explicit casts, + * unused variables, comma operators, doc comments), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * ReplayGainAnalysis - analyzes input samples and give the recommended dB change * Copyright (C) 2001 David Robinson and Glen Sawyer @@ -345,7 +350,7 @@ AnalyzeSamples(replaygain_t * rgData, const Float_t * left_samples, const Float_ sum_l += l * l; sum_r += r * r; } - i = cursamples / 4; + i = (int) (cursamples / 4); while (i--) { Float_t l0 = curleft[0] * curleft[0]; Float_t l1 = curleft[1] * curleft[1]; diff --git a/libmp3lame/id3tag.c b/libmp3lame/id3tag.c index 156e7e8..780049e 100644 --- a/libmp3lame/id3tag.c +++ b/libmp3lame/id3tag.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-03: compiler warning fixes only (explicit casts, + * unused variables, comma operators, doc comments), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * id3tag.c -- Write ID3 version 1 and 2 tags. * @@ -606,7 +611,7 @@ static int lookupGenre(char const* genre) { char *str; - int num = strtol(genre, &str, 10); + int num = (int) strtol(genre, &str, 10); /* is the input a string or a valid number? */ if (*str) { num = searchGenre(genre); @@ -1691,7 +1696,7 @@ set_frame_custom2(unsigned char *frame, FrameDataNode const *node) size_t const n = sizeOfNode(node); if (n > 10) { frame = set_4_byte_value(frame, node->fid); - frame = set_4_byte_value(frame, (unsigned long) (n - 10)); + frame = set_4_byte_value(frame, (uint32_t) (n - 10)); /* clear 2-byte header flags */ *frame++ = 0; *frame++ = 0; @@ -1724,7 +1729,7 @@ set_frame_wxxx(unsigned char *frame, FrameDataNode const *node) size_t const n = sizeOfWxxxNode(node); if (n > 10) { frame = set_4_byte_value(frame, node->fid); - frame = set_4_byte_value(frame, (unsigned long) (n - 10)); + frame = set_4_byte_value(frame, (uint32_t) (n - 10)); /* clear 2-byte header flags */ *frame++ = 0; *frame++ = 0; @@ -1764,7 +1769,7 @@ set_frame_apic(unsigned char *frame, const char *mimetype, const unsigned char * */ if (mimetype && data && size) { frame = set_4_byte_value(frame, FRAME_ID('A', 'P', 'I', 'C')); - frame = set_4_byte_value(frame, (unsigned long) (4 + strlen(mimetype) + size)); + frame = set_4_byte_value(frame, (uint32_t) (4 + strlen(mimetype) + size)); /* clear 2-byte header flags */ *frame++ = 0; *frame++ = 0; diff --git a/libmp3lame/lame.c b/libmp3lame/lame.c index 9d6ace2..c353d5e 100644 --- a/libmp3lame/lame.c +++ b/libmp3lame/lame.c @@ -1,3 +1,9 @@ +/* + * Modified for Tonalis on 2026-12-03 and 2026-12-04: compiler and static analyzer warning + * fixes only (explicit casts, unused variables and stores, comma operators, doc comments, + * zero-initialized local arrays), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* -*- mode: C; mode: fold -*- */ /* * LAME MP3 encoding engine @@ -638,7 +644,7 @@ lame_init_params(lame_global_flags * gfp) if (cfg->vbr == vbr_off && gfp->brate == 0) { /* no bitrate or compression ratio specified, use 11.025 */ - if (EQ(gfp->compression_ratio, 0)) + if (EQ(gfp->compression_ratio, 0.f)) gfp->compression_ratio = 11.025; /* rate to compress a CD down to exactly 128000 bps */ } @@ -1426,7 +1432,7 @@ lame_print_internals(const lame_global_flags * gfp) { lame_internal_flags const *const gfc = gfp->internal_flags; SessionConfig_t const *const cfg = &gfc->cfg; - const char *pc = ""; + const char *pc; /* compiler/processor optimizations, operational, etc. */ @@ -1603,7 +1609,7 @@ save_gain_values(lame_internal_flags * gfc) /* save the ReplayGain value */ if (cfg->findReplayGain) { FLOAT const RadioGain = (FLOAT) GetTitleGain(rsv->rgdata); - if (NEQ(RadioGain, GAIN_NOT_ENOUGH_SAMPLES)) { + if (NEQ(RadioGain, (FLOAT) GAIN_NOT_ENOUGH_SAMPLES)) { rov->RadioGain = (int) floor(RadioGain * 10.0 + 0.5); /* round to nearest */ } else { diff --git a/libmp3lame/presets.c b/libmp3lame/presets.c index 93594f5..6b9ffe3 100644 --- a/libmp3lame/presets.c +++ b/libmp3lame/presets.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-03: compiler warning fixes only (explicit casts, + * unused variables, comma operators, doc comments), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * presets.c -- Apply presets * @@ -33,12 +38,12 @@ #define SET_OPTION(opt, val, def) if (enforce) \ (void) lame_set_##opt(gfp, val); \ - else if (!(fabs(lame_get_##opt(gfp) - def) > 0)) \ + else if (!(fabs((double) lame_get_##opt(gfp) - (def)) > 0)) \ (void) lame_set_##opt(gfp, val); #define SET__OPTION(opt, val, def) if (enforce) \ lame_set_##opt(gfp, val); \ - else if (!(fabs(lame_get_##opt(gfp) - def) > 0)) \ + else if (!(fabs((double) lame_get_##opt(gfp) - (def)) > 0)) \ lame_set_##opt(gfp, val); #undef Min diff --git a/libmp3lame/psymodel.c b/libmp3lame/psymodel.c index 56ea693..cac2561 100644 --- a/libmp3lame/psymodel.c +++ b/libmp3lame/psymodel.c @@ -1,3 +1,9 @@ +/* + * Modified for Tonalis on 2026-12-03 and 2026-12-04: compiler and static analyzer warning + * fixes only (explicit casts, unused variables and stores, comma operators, doc comments, + * zero-initialized local arrays), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * psymodel.c * @@ -434,7 +440,7 @@ convert_partition2scalefac_l_to_s(lame_internal_flags * gfc, FLOAT const *eb, FL { PsyStateVar_t *const psv = &gfc->sv_psy; PsyConst_CB2SB_t const *const gds = &gfc->cd_psy->l_to_s; - FLOAT enn[SBMAX_s], thm[SBMAX_s]; + FLOAT enn[SBMAX_s] = {0}, thm[SBMAX_s] = {0}; int sb, sblock; convert_partition2scalefac(gds, eb, thr, enn, thm); for (sb = 0; sb < SBMAX_s; ++sb) { @@ -1081,13 +1087,15 @@ vbrpsy_compute_masking_s(lame_internal_flags * gfc, const FLOAT(*fftenergy_s)[HB dd = mask_idx_s[kk]; dd_n = 1; ecb = gds->s3[j] * eb[kk] * tab[mask_idx_s[kk]]; - ++j, ++kk; + ++j; + ++kk; while (kk <= last) { dd += mask_idx_s[kk]; dd_n += 1; x = gds->s3[j] * eb[kk] * tab[mask_idx_s[kk]]; ecb = vbrpsy_mask_add(ecb, x, kk - b, delta); - ++j, ++kk; + ++j; + ++kk; } dd = (1 + 2 * dd) / (2 * dd_n); avg_mask = tab[dd] * 0.5f; @@ -1147,7 +1155,7 @@ vbrpsy_compute_masking_l(lame_internal_flags * gfc, const FLOAT fftenergy[HBLKSI { PsyStateVar_t *const psv = &gfc->sv_psy; PsyConst_CB2SB_t const *const gdl = &gfc->cd_psy->l; - FLOAT max[CBANDS], avg[CBANDS]; + FLOAT max[CBANDS] = {0}, avg[CBANDS] = {0}; unsigned char mask_idx_l[CBANDS + 2]; int k, b; @@ -1174,7 +1182,8 @@ vbrpsy_compute_masking_l(lame_internal_flags * gfc, const FLOAT fftenergy[HBLKSI dd = mask_idx_l[kk]; dd_n += 1; ecb = gdl->s3[k] * eb_l[kk] * tab[mask_idx_l[kk]]; - ++k, ++kk; + ++k; + ++kk; while (kk <= last) { dd += mask_idx_l[kk]; dd_n += 1; @@ -1188,7 +1197,8 @@ vbrpsy_compute_masking_l(lame_internal_flags * gfc, const FLOAT fftenergy[HBLKSI #else ecb = t; #endif - ++k, ++kk; + ++k; + ++kk; } dd = (1 + 2 * dd) / (2 * dd_n); avg_mask = tab[dd] * 0.5f; @@ -1427,7 +1437,7 @@ L3psycho_anal_vbr(lame_internal_flags * gfc, FLOAT fftenergy_s[3][HBLKSIZE_s]; FLOAT wsamp_L[2][BLKSIZE]; FLOAT wsamp_S[2][3][BLKSIZE_s]; - FLOAT eb[4][CBANDS], thr[4][CBANDS]; + FLOAT eb[4][CBANDS] = {{0}}, thr[4][CBANDS] = {{0}}; FLOAT sub_short_factor[4][3]; FLOAT thmm; diff --git a/libmp3lame/quantize.c b/libmp3lame/quantize.c index f29ed88..078242b 100644 --- a/libmp3lame/quantize.c +++ b/libmp3lame/quantize.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-04: static analyzer warning fixes only (unused stores, + * zero-initialized local arrays), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * MP3 quantization * @@ -1249,7 +1254,7 @@ VBR_encode_granule(lame_internal_flags * gfc, gr_info * const cod_info, const FL gr_info bst_cod_info; FLOAT bst_xrpow[576]; int const Max_bits = max_bits; - int real_bits = max_bits + 1; + int real_bits; int this_bits = (max_bits + min_bits) / 2; int dbits, over, found = 0; int const sfb21_extra = gfc->sv_qnt.sfb21_extra; @@ -1493,14 +1498,14 @@ VBR_old_iteration_loop(lame_internal_flags * gfc, const FLOAT pe[2][2], { SessionConfig_t const *const cfg = &gfc->cfg; EncResult_t *const eov = &gfc->ov_enc; - FLOAT l3_xmin[2][2][SFBMAX]; + FLOAT l3_xmin[2][2][SFBMAX] = {{{0}}}; FLOAT xrpow[576]; - int bands[2][2]; - int frameBits[16]; + int bands[2][2] = {{0}}; + int frameBits[16] = {0}; int used_bits; int bits; - int min_bits[2][2], max_bits[2][2]; + int min_bits[2][2] = {{0}}, max_bits[2][2] = {{0}}; int mean_bits; int ch, gr, analog_silence; III_side_info_t *const l3_side = &gfc->l3_side; @@ -1648,12 +1653,12 @@ VBR_new_iteration_loop(lame_internal_flags * gfc, const FLOAT pe[2][2], { SessionConfig_t const *const cfg = &gfc->cfg; EncResult_t *const eov = &gfc->ov_enc; - FLOAT l3_xmin[2][2][SFBMAX]; + FLOAT l3_xmin[2][2][SFBMAX] = {{{0}}}; FLOAT xrpow[2][2][576]; - int frameBits[16]; + int frameBits[16] = {0}; int used_bits; - int max_bits[2][2]; + int max_bits[2][2] = {{0}}; int ch, gr, analog_silence, pad; III_side_info_t *const l3_side = &gfc->l3_side; @@ -1924,7 +1929,7 @@ ABR_iteration_loop(lame_internal_flags * gfc, const FLOAT pe[2][2], EncResult_t *const eov = &gfc->ov_enc; FLOAT l3_xmin[SFBMAX]; FLOAT xrpow[576]; - int targ_bits[2][2]; + int targ_bits[2][2] = {{0}}; int mean_bits, max_frame_bits; int ch, gr, ath_over; int analog_silence_bits; diff --git a/libmp3lame/quantize_pvt.c b/libmp3lame/quantize_pvt.c index 5034c19..e9d5e76 100644 --- a/libmp3lame/quantize_pvt.c +++ b/libmp3lame/quantize_pvt.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-04: static analyzer warning fixes only (unused stores, + * zero-initialized local arrays), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * quantize_pvt source file * @@ -694,7 +699,7 @@ calc_xmin(lame_internal_flags const *gfc, width = cod_info->width[gsfb]; for (b = 0; b < 3; b++) { - FLOAT en0 = 0.0, xmin = tmpATH; + FLOAT en0 = 0.0, xmin; FLOAT rh1, rh2, rh3; rh1 = tmpATH / width; @@ -943,7 +948,7 @@ set_pinfo(lame_internal_flags const *gfc, FLOAT const ifqstep = (cod_info->scalefac_scale == 0) ? .5 : 1.0; int const *const scalefac = cod_info->scalefac; - FLOAT l3_xmin[SFBMAX], xfsf[SFBMAX]; + FLOAT l3_xmin[SFBMAX] = {0}, xfsf[SFBMAX] = {0}; calc_noise_result noise; (void) calc_xmin(gfc, ratio, cod_info, l3_xmin); diff --git a/libmp3lame/set_get.c b/libmp3lame/set_get.c index 1ee60f6..4fbe8c1 100644 --- a/libmp3lame/set_get.c +++ b/libmp3lame/set_get.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-03: compiler warning fixes only (explicit casts, + * unused variables, comma operators, doc comments), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* -*- mode: C; mode: fold -*- */ /* * set/get functions for lame_global_flags @@ -1723,7 +1728,7 @@ float lame_get_interChRatio(const lame_global_flags * gfp) { if (is_lame_global_flags_valid(gfp)) { - assert((0 <= gfp->interChRatio && gfp->interChRatio <= 1.0) || EQ(gfp->interChRatio, -1)); + assert((0 <= gfp->interChRatio && gfp->interChRatio <= 1.0) || EQ(gfp->interChRatio, -1.f)); return gfp->interChRatio; } return 0; @@ -2158,7 +2163,7 @@ lame_get_totalframes(const lame_global_flags * gfp) pcm_samples_to_encode = ceil(resampled_samples_to_encode); } else { - frames = pcm_samples_to_encode / pcm_samples_per_frame; + frames = (int) (pcm_samples_to_encode / pcm_samples_per_frame); pcm_samples_to_encode -= frames * pcm_samples_per_frame; } pcm_samples_to_encode += 576ul; @@ -2324,7 +2329,7 @@ calc_maximum_input_samples_for_buffer_size(lame_internal_flags const* gfc, size_ { int const pad = 1; int const bpf = ((cfg->version + 1) * 72000 * kbps / cfg->samplerate_out + pad); - frames_per_buffer = buffer_size / bpf; + frames_per_buffer = (int) (buffer_size / bpf); } { double ratio = (double) cfg->samplerate_in / cfg->samplerate_out; diff --git a/libmp3lame/takehiro.c b/libmp3lame/takehiro.c index 3be79ff..6196792 100644 --- a/libmp3lame/takehiro.c +++ b/libmp3lame/takehiro.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-04: static analyzer warning fixes only (unused stores, + * zero-initialized local arrays), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * MP3 huffman table selecting and bit counting * @@ -404,11 +409,9 @@ quantize_xrpow(const FLOAT * xp, int *pi, FLOAT istep, gr_info const *const cod_ } if (accumulate) { /*last data part */ quantize_lines_xrpow(accumulate, istep, acc_xp, acc_iData); - accumulate = 0; } if (accumulate01) { /*last data part */ quantize_lines_xrpow_01(accumulate01, istep, acc_xp, acc_iData); - accumulate01 = 0; } } @@ -889,10 +892,10 @@ best_huffman_divide(const lame_internal_flags * const gfc, gr_info * const gi) gr_info cod_info2; int const *const ix = gi->l3_enc; - int r01_bits[7 + 15 + 1]; - int r01_div[7 + 15 + 1]; - int r0_tbl[7 + 15 + 1]; - int r1_tbl[7 + 15 + 1]; + int r01_bits[7 + 15 + 1] = {0}; + int r01_div[7 + 15 + 1] = {0}; + int r0_tbl[7 + 15 + 1] = {0}; + int r1_tbl[7 + 15 + 1] = {0}; /* SHORT BLOCK stuff fails for MPEG2 */ diff --git a/libmp3lame/vbrquantize.c b/libmp3lame/vbrquantize.c index 3cfa999..4088fce 100644 --- a/libmp3lame/vbrquantize.c +++ b/libmp3lame/vbrquantize.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-04: static analyzer warning fixes only (unused stores, + * zero-initialized local arrays), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * MP3 quantization * @@ -1065,7 +1070,7 @@ searchGlobalStepsizeMax(const algo_t * that, const int sfwork[SFBMAX], } if (gain_ok != curr) { curr = gain_ok; - nbits = tryGlobalStepsize(that, sfwork, vbrsfmin, curr - gain); + (void) tryGlobalStepsize(that, sfwork, vbrsfmin, curr - gain); } } @@ -1185,7 +1190,7 @@ outOfBitsStrategy(algo_t const* that, const int sfwork[SFBMAX], const int vbrsfm if (bi_ok >= 0) { if (bi != bi_ok) { int const sfmax = flattenDistribution(sfwork, wrk, dm, bi_ok, p); - nbits = tryThatOne(that, wrk, vbrsfmin, sfmax); + (void) tryThatOne(that, wrk, vbrsfmin, sfmax); } return; } @@ -1217,7 +1222,7 @@ outOfBitsStrategy(algo_t const* that, const int sfwork[SFBMAX], const int vbrsfm if (bi_ok >= 0) { if (bi != bi_ok) { int const sfmax = flattenDistribution(sfwork, wrk, dm, dm, bi_ok); - nbits = tryThatOne(that, wrk, vbrsfmin, sfmax); + (void) tryThatOne(that, wrk, vbrsfmin, sfmax); } return; } diff --git a/libmp3lame/version.c b/libmp3lame/version.c index e6d9fa4..b46db9c 100644 --- a/libmp3lame/version.c +++ b/libmp3lame/version.c @@ -1,3 +1,8 @@ +/* + * Modified for Tonalis on 2026-12-03: compiler warning fixes only (explicit casts, + * unused variables, comma operators, doc comments), no change in behavior. + * See Vendor/LAME/tonalis-changes.patch. + */ /* * Version numbering for LAME. * @@ -47,7 +52,6 @@ /*! Get the LAME version string. */ /*! - \param void \return a pointer to a string which describes the version of LAME. */ const char * @@ -79,7 +83,6 @@ get_lame_version(void) /*! It's mainly for inclusion into the MP3 stream. - \param void \return a pointer to the short version of the LAME version string. */ const char * @@ -109,7 +112,6 @@ get_lame_short_version(void) /*! It's used in the LAME VBR tag only. - \param void \return a pointer to the short version of the LAME version string. */ const char * @@ -161,7 +163,6 @@ get_lame_very_short_version(void) (`compiletime_assert`) - if it ever trips, the version numbers (not this field's width or format) are what needs to change. - \param void \return a pointer to the short version of the LAME version string. */ const char* @@ -181,7 +182,6 @@ compiletime_assert(sizeof("LAME" STR(LAME_MAJOR_VERSION) "." STR(LAME_MINOR_VERS /*! Get the version string for GPSYCHO. */ /*! - \param void \return a pointer to a string which describes the version of GPSYCHO. */ const char * @@ -206,7 +206,6 @@ get_psy_version(void) /*! Get the URL for the LAME website. */ /*! - \param void \return a pointer to a string which is a URL for the LAME website. */ const char * @@ -223,7 +222,7 @@ get_lame_url(void) Writes the numerical representation of the version of LAME and GPSYCHO into lvp. - \param lvp + \param lvp receives the version numbers. */ void get_lame_version_numerical(lame_version_t * lvp)