summaryrefslogtreecommitdiff
path: root/audio/holyshout/files/patch-holyshout.c
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2009-01-13 07:24:05 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2009-01-13 07:24:05 +0000
commit8f02dc9f58a8b302c7598f079f4d3b89cbe6e7b9 (patch)
tree7fcc69ff1fb4d581298634d2e7aab22bce7c3175 /audio/holyshout/files/patch-holyshout.c
parentUpdate to 2.24.3. (diff)
Fix build after recent LAME update:
- fix incorrect use of a deprecated function by replacing it with a non-deprecated function Requested by: portmgr (pav; maintainer CCed)
Diffstat (limited to 'audio/holyshout/files/patch-holyshout.c')
-rw-r--r--audio/holyshout/files/patch-holyshout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/holyshout/files/patch-holyshout.c b/audio/holyshout/files/patch-holyshout.c
index c270da050679..61f896678125 100644
--- a/audio/holyshout/files/patch-holyshout.c
+++ b/audio/holyshout/files/patch-holyshout.c
@@ -208,7 +208,7 @@
- //ret = shout_send_data(&conn, mp3buffer, imp3);
- lame_close_infile(&gf) ;
- lame_mp3_tags(&gf) ;
-+ imp3=lame_encode_finish(gf,mp3buffer,(int)sizeof(mp3buffer));
++ imp3=lame_encode_flush(gf,mp3buffer,(int)sizeof(mp3buffer));
+ lame_close(gf) ;
puts("") ;