]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp3_afh.c
Allocate afh_info->info_string dynamically.
[paraslash.git] / mp3_afh.c
index 5a8c956d219bf1b11e6a757f7555a6ba1c605b5b..9c190ea6be2c50ef78a79134b578c508181b2c1b 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -138,7 +138,7 @@ static void write_info_str(struct afh_info *afhi)
 {
        int v = mp3.id3_isvalid;
 
-       snprintf(afhi->info_string, MMD_INFO_SIZE,
+       afhi->info_string = make_message(
                "%s: %cbr, %s\n" /* audio file info*/
                "%s: %s, by %s\n" /* taginfo1 */
                "%s: A: %s, Y: %s, C: %s\n", /* taginfo 2*/