Crash in TagLib is always a bug, I'll have a look at the issue.<div><br></div><div>However, what you are doing is not going to work. TagLib::APE::File reads metadata from Monkeys Audio files. Trying to open AAC files with it should result in an error.<br>
<div><br></div><div>Lukas<br><br><div class="gmail_quote">On Fri, Jan 27, 2012 at 6:44 PM, patrickcohen <span dir="ltr"><<a href="mailto:patrickcohen@laposte.net">patrickcohen@laposte.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, <br><font><font><p>I tried to use the following code to extract metadata using taglib 1.7 and I get a crash on the method <font><strong>APE::Properties::read</strong>().<br>Is it normal and is-it a known bug?</font></p>
<p><font><br><strong><font color="#ff0000">TagLib::</font></strong><font><font color="#ff0000"><strong>File</strong></font></font><font><strong><font color="#ff0000">* l_file;</font></strong></font></font></p><p><font><font><strong><font color="#ff0000">l_file = </font></strong><strong><font color="#ff0000"><font><font>new</font></font><font> (std::nothrow) TagLib::APE::File("004 AAC.aac"</font></font></strong><font><strong><font color="#ff0000">);<br>
</font></strong><br>Please let me know if you have any patch regarding this topic or any other clean solution for extracing the existing ID3V2<br>tags (TPE2/TPE1/TALB/TRDC/TCON/TRACK/<strong>APIC</strong>) of this kind of files. <br>
Best regards,<br>Patrick<br></font></font></font></p><p></p><p></p></font></font><br><br><a href="https://compte.laposte.net/inscription/index.do?jeux=2011FOOTER_generique" target="_blank"><img style="margin:0pt" src="http://webmail.laposte.net/webmail/fr_FR/panels/images/pied-page-generique_2.jpg" alt=""></a><a></a><br>
_______________________________________________<br>
taglib-devel mailing list<br>
<a href="mailto:taglib-devel@kde.org">taglib-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a><br>
<br></blockquote></div><br></div></div>