<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/lame/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/lame/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 02 Feb 2026 17:27:22 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lame/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>Remove obsolete resampling tolerance workaround</title><link>https://sourceforge.net/p/lame/patches/101/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This fixes TODO list item #1. The tolerance check in isResamplingNecessary() was a workaround for a segfault bug that appears to have been fixed in 2003 (commit 43882a1f). Changed to exact integer comparison.&lt;/p&gt;
&lt;p&gt;Tested all edge cases with Valgrind. No segfaults  or memory errors presented during testing.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Riley Gabriel</dc:creator><pubDate>Mon, 02 Feb 2026 17:27:22 -0000</pubDate><guid>https://sourceforge.net5842db09af883c82094a7b663c9a201662c4f7e7</guid></item><item><title>update the Xing Header flags to handle the Info tag</title><link>https://sourceforge.net/p/lame/patches/100/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;updated the Xing Header flags to handle the Info tag&lt;br/&gt;
updated from Helix MP3 Encoder&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vincent HO-SUNE</dc:creator><pubDate>Sun, 21 Sep 2025 14:41:50 -0000</pubDate><guid>https://sourceforge.net2855ed4b64a555891ed702848deb60bcf77f3593</guid></item><item><title>#42 need autogen.sh for easy building</title><link>https://sourceforge.net/p/lame/patches/42/?limit=25#f5c7</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-rejected&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Leidinger</dc:creator><pubDate>Tue, 21 Nov 2023 15:16:11 -0000</pubDate><guid>https://sourceforge.netbb552ca0f5f1e10de27334d43da2784b277c3e0f</guid></item><item><title>#69 Adding IPV6 support to mp3rtp utility</title><link>https://sourceforge.net/p/lame/patches/69/?limit=25#0290</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Alexander Leidinger&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Leidinger</dc:creator><pubDate>Tue, 21 Nov 2023 15:13:31 -0000</pubDate><guid>https://sourceforge.netc16819c18b0e68bf33c1fd55c69d2c3d918ab5a1</guid></item><item><title>#99 support for ID3v2.4 (UTF-8)</title><link>https://sourceforge.net/p/lame/patches/99/?limit=25#89e0</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Alexander Leidinger&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Group&lt;/strong&gt;:  --&amp;gt; &lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Leidinger</dc:creator><pubDate>Tue, 21 Nov 2023 13:41:13 -0000</pubDate><guid>https://sourceforge.net69cc90f827ce8ef496890d6bd5476aa86845e9c9</guid></item><item><title>#99 support for ID3v2.4 (UTF-8)</title><link>https://sourceforge.net/p/lame/patches/99/?limit=25#aad8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have taken a stab at adding support for UTF-8 ID3v2.4 tag - see the &lt;strong&gt;ID3v2.4_UTF8_support.patch&lt;/strong&gt; file attached. Some details below.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Background as I understand it&lt;/strong&gt;&lt;br/&gt;
The ID3v2.4 is the first ID3 tag version to explicitly support UTF-8 encoding - it is done by specifying 0x03 value for the encoding byte. The encoding byte of 0x00 indicates ISO-8859-1 (latin-1) encoding.&lt;/p&gt;
&lt;p&gt;For context, there are 3 versions of ID3 metadata tags at play here:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ID3v1&lt;/strong&gt; - doesn't explicitly support UTF-8. Seems like you can use any encoding you like, but there is no way to signal to decoder how to interpret it. The assumed/spec-compliant encoding is ISO-8859-1 (latin1)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ID3v2.2/ID3v2.3&lt;/strong&gt; - added Unicode support (16-bit unicode 2.0,  UCS-2) in addition to ISO-8859-1 (latin1). The encoding is specified with the encoding byte:&lt;/p&gt;
&lt;p&gt;0x00  for ISO-8859-1 (latin1)&lt;br/&gt;
0x01  UTF-16. Unicode strings must begin with the&lt;br/&gt;
      Unicode BOM ($FF FE or $FE FF) to identify the byte order.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ID3v2.4&lt;/strong&gt;  - added official UTF-8 support. The encoding byte now can have the following values:&lt;/p&gt;
&lt;p&gt;0x00  for ISO-8859-1 (latin1)&lt;br/&gt;
0x01  UTF-16. Unicode strings must begin with the&lt;br/&gt;
      Unicode BOM ($FF FE or $FE FF) to identify the byte order.&lt;br/&gt;
0x02  UTF-16BE - Unicode without BOM.&lt;br/&gt;
0x03  UTF-8 &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Details of the patch&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The patch adds support for writing UTF-8-encoded ID3v2.4 by adding  two new externally-exposed functions, &lt;code&gt;id3tag_add_v2_4_UTF8&lt;/code&gt; and &lt;code&gt;id3tag_v2_4_UTF8_only&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Specifics:&lt;/p&gt;
&lt;p&gt;1). Added a new flag, &lt;code&gt;V2_4_UTF8_FLAG&lt;/code&gt;, in libmp3lame/id3tag.h to indicate that when we are writing ID3v2 tags, they should be written as ID3v2.4 with UTF-8 compression (encoding byte = 3). This fits in with existing flags like  &lt;code&gt;ADD_V2_FLAG&lt;/code&gt; and &lt;code&gt;V2_ONLY_FLAG&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;1) Added two new externally-exposed functions, &lt;code&gt;id3tag_add_v2_4_UTF8&lt;/code&gt; and &lt;code&gt;id3tag_v2_4_UTF8_only&lt;/code&gt;, that turn on the &lt;code&gt;V2_4_UTF8_FLAG&lt;/code&gt; flag. Using these function ensures that ID3v2 tags will be written as UTF-8-encoded ID3v2.4 tags. The &lt;code&gt;id3tag_add_v2_4_UTF8&lt;/code&gt; function means writing both ID3v1 and ID3v2.4 tags, while &lt;code&gt;id3tag_v2_4_UTF8_only&lt;/code&gt; means writing only ID3v2.4 tags.  This works similarly to existing &lt;code&gt;id3tag_add_v2&lt;/code&gt; and &lt;code&gt;id3tag_v2_only&lt;/code&gt; functions. Changes for adding the two  new functions and exposing them are in the following files:&lt;br/&gt;
    include/lame.def&lt;br/&gt;
    include/lame.h&lt;br/&gt;
    include/libmp3lame.sym&lt;br/&gt;
    libmp3lame/id3tag.c &lt;em&gt;(implementation of the functions)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;3) Several minor changes in libmp3lame/id3tag.c to implement &lt;code&gt;id3tag_add_v2_4_UTF8&lt;/code&gt; and &lt;code&gt;id3tag_v2_4_UTF8_only&lt;/code&gt; in a way that uses existing code and tries to avoid duplicating logic as much as possible.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Applying and using the patch&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For me the patch  seems to work correctly when applied to LAME beta-2 v3.101.2 (taken from this snapshot &lt;a href="https://sourceforge.net/p/lame/svn/6505/tree/trunk/lame/"&gt;https://sourceforge.net/p/lame/svn/6505/tree/trunk/lame/&lt;/a&gt;). It can be applied as follows:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;patch -ru -b -d /path/to/where/lame/source/is &amp;lt; ID3v2.4_UTF8_support.patch 
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;After the LAME library is rebuilt with the patch, you should be able to do one call to one of the new functions (&lt;code&gt;id3tag_add_v2_4_UTF8&lt;/code&gt; or &lt;code&gt;id3tag_v2_4_UTF8_only&lt;/code&gt;) to set the LAME flags appropriately, e.g.:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="cm"&gt;/* force writing ID3v2.4 with UTF-8 encoding */&lt;/span&gt;
&lt;span class="w"&gt;    &lt;/span&gt;&lt;span class="n"&gt;id3tag_v2_4_UTF8_only&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;lame_flags&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And then just use LAME functions like &lt;code&gt;id3tag_set_title&lt;/code&gt; or &lt;code&gt;id3tag_set_artist&lt;/code&gt;,  etc. as normal (but now providing UTF-8-encoded data to them).  The patch does not handle conversions between encodings. This unfortunately means that using &lt;code&gt;id3tag_add_v2_4_UTF8&lt;/code&gt; will write the same data you provide to both ID3v1 and ID3v2.4 tags (e.g. either both latin1 or both UTF-8), which is not quite spec-compliant.&lt;/p&gt;
&lt;p&gt;My intention was to not modify any of existing LAME functionality, so hopefully writing ID3v1 and ID3v2.3 tags (when using functions like &lt;code&gt;id3tag_add_v2&lt;/code&gt;, &lt;code&gt;id3tag_v1_only&lt;/code&gt;, &lt;code&gt;id3tag_v2_only&lt;/code&gt;, etc.) should still work the same after the patch is applied&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kris</dc:creator><pubDate>Thu, 12 Oct 2023 12:03:39 -0000</pubDate><guid>https://sourceforge.net2eb29603b9923002019f88c4ff73439b382ed01d</guid></item><item><title>#99 support for ID3v2.4 (UTF-8)</title><link>https://sourceforge.net/p/lame/patches/99/?limit=25#dc07</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Apologies, meant to post this as a feature request.&lt;br/&gt;
Did so here: &lt;a href="https://sourceforge.net/p/lame/feature-requests/84/"&gt;https://sourceforge.net/p/lame/feature-requests/84/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kris</dc:creator><pubDate>Tue, 21 Mar 2023 17:02:10 -0000</pubDate><guid>https://sourceforge.netb309898ab9ae86f4de7bc44b4c7f7593bc9b871d</guid></item><item><title>support for ID3v2.4 (UTF-8)</title><link>https://sourceforge.net/p/lame/patches/99/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;It would be really great if LAME supported writing MP3 metadata as  ID3v2.4 tags (with 0x03 prefix for UTF-8).  Adoption of ID3v2.4 is growing (came out over 20 years ago!) and in general, UTF-8 is definitely the way forward.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kris</dc:creator><pubDate>Tue, 21 Mar 2023 16:59:07 -0000</pubDate><guid>https://sourceforge.net3a7359a0bd3febfe284f643f677728784acc03fa</guid></item><item><title>support for ID3v2.4 (UTF-8)</title><link>https://sourceforge.net/p/lame/patches/99/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 99 has been modified: support for ID3v2.4 (UTF-8)&lt;br/&gt;
Edited By: Alexander Leidinger (aleidinger)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed-accepted'&lt;br/&gt;
Owner updated: None =&amp;gt; 'aleidinger'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">kris</dc:creator><pubDate>Tue, 21 Mar 2023 16:59:07 -0000</pubDate><guid>https://sourceforge.net60ae9288df8641f5018ba30ffcb03ead5d2add08</guid></item><item><title>Return non-zero exit status if reading the input mp3 file failed.</title><link>https://sourceforge.net/p/lame/patches/98/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;See &lt;a href="https://sourceforge.net/p/lame/bugs/513/"&gt;https://sourceforge.net/p/lame/bugs/513/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Proposed path fixes the bug #513.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Van de Bugger</dc:creator><pubDate>Tue, 13 Sep 2022 21:49:36 -0000</pubDate><guid>https://sourceforge.netfac9e16495fdd21670aacc904cb8a80162dac302</guid></item></channel></rss>