[mythtv] [PATH] mythmusic bug fix
MaxPower
maxpower44 at tiscali.fr
Sun Dec 7 16:12:38 EST 2003
This patch fix the bug when mp3 file contain special caractère like accent.
please apply this patch
xavier
-------------- next part --------------
--- mythmusic/mythmusic/maddecoder.cpp 2003-09-10 02:21:45.000000000 +0200
+++ /usr/local/src/maddecoder.cpp 2003-12-07 22:06:36.000000000 +0100
@@ -553,7 +553,7 @@
if (!ignore_id3)
{
// use ID3 header
- id3_file *id3file = id3_file_open(filename.ascii(),
+ id3_file *id3file = id3_file_open(filename.utf8(),
ID3_FILE_MODE_READONLY);
if (!id3file)
{
@@ -644,7 +644,7 @@
timer = mad_timer_zero;
- FILE *input = fopen(filename.ascii(), "r");
+ FILE *input = fopen(filename.utf8(), "r");
struct stat s;
fstat(fileno(input), &s);
unsigned long old_bitrate = 0;
More information about the mythtv-dev
mailing list