Mercurial > audlegacy-plugins
diff src/madplug/input.c @ 706:6bc134eec1f3 trunk
[svn] - make use of the new id3_file_vfsopen() function.
Patch by Christian Birchinger (joker).
| author | nenolod |
|---|---|
| date | Sat, 24 Feb 2007 07:49:06 -0800 |
| parents | 07fa51808275 |
| children | b938fe96b20e |
line wrap: on
line diff
--- a/src/madplug/input.c Sat Feb 24 05:58:15 2007 -0800 +++ b/src/madplug/input.c Sat Feb 24 07:49:06 2007 -0800 @@ -345,7 +345,10 @@ else title_input = info->tuple; - info->id3file = id3_file_open(info->filename, ID3_FILE_MODE_READONLY); + if(info->infile) + info->id3file = id3_file_vfsopen(info->infile, ID3_FILE_MODE_READONLY); + else + info->id3file = id3_file_open(info->filename, ID3_FILE_MODE_READONLY); if (!info->id3file) { return; }
