head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.20 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.18 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.16 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.14 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.12 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.10 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.8 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.6 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.4 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.22 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.20 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.18 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.16 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.14 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.12 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.10 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.8 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.6 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.4 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.2 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.1.1.1.0.2 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2008.01.06.18.21.37; author rillig; state dead; branches; next 1.2; 1.2 date 2005.05.23.08.50.36; author rillig; state Exp; branches; next 1.1; 1.1 date 2005.03.01.01.17.01; author xtraeme; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.03.01.01.17.01; author xtraeme; state Exp; branches; next ; desc @@ 1.3 log @Updated xmms-wma to 1.0.5. Changes in 1.0.5 - Added opportunity to build plug-in for player BMP. - Fix bug with blanks with use gnome-vfs in BMP. - WARNING: BEEPMP-WMA conflict with BMP-WMA. Remove BMP-WMA or do not use BEEPMP-WMA. @ text @$NetBSD: patch-ac,v 1.2 2005/05/23 08:50:36 rillig Exp $ --- ffmpeg-strip-wma/asf.c.orig Wed May 26 19:16:39 2004 +++ ffmpeg-strip-wma/asf.c Sat Dec 11 21:32:58 2004 @@@@ -16,10 +16,13 @@@@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + +#ifdef USE_ICONV +#include +#endif + #include "avformat.h" #include "avi.h" -//#include "mpegaudio.h" -#include #undef NDEBUG #include @@@@ -830,6 +833,7 @@@@ return str; } +#ifdef USE_ICONV static void tag_recode(char *before, int len) { int result; @@@@ -859,6 +863,7 @@@@ return; return; } +#endif static void get_str16_nolen(ByteIOContext *pb, int len, char *buf, int buf_size) { @@@@ -868,12 +873,17 @@@@ q = buf; lenz = len; while (len > 0) { - c = get_byte(pb); - if ((q - buf) < buf_size-1) - *q++ = c; - len--; + c = get_byte(pb); + if ((q - buf) < buf_size - 1) + *q++ = c; + len--; } - tag_recode(buf, lenz); + +#ifdef USE_ICONV + tag_recode(buf, lenz); +#else + *q = '\0'; +#endif } static int asf_probe(AVProbeData *pd) @ 1.2 log @Removed trailing empty lines. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.1.1 2005/03/01 01:17:01 xtraeme Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ a59 1 @ 1.1.1.1 log @Initial import of xmms-wma-1.04. XMMS input plugin to play WMA files. @ text @@