Mercurial > audlegacy-plugins
comparison src/mpg123/mpg123.c @ 581:c5022551db57 trunk
[svn] - mpg123: do not try to pick a tuple from http:// sources
author | giacomo |
---|---|
date | Tue, 30 Jan 2007 11:05:31 -0800 |
parents | 997496d252d4 |
children |
comparison
equal
deleted
inserted
replaced
580:2419d6928017 | 581:c5022551db57 |
---|---|
527 VFSFile *file; | 527 VFSFile *file; |
528 TitleInput *tuple = NULL; | 528 TitleInput *tuple = NULL; |
529 TagLib_File *taglib_file; | 529 TagLib_File *taglib_file; |
530 TagLib_Tag *taglib_tag; | 530 TagLib_Tag *taglib_tag; |
531 | 531 |
532 if (str_has_prefix_nocase(filename, "http://")) | |
533 return NULL; | |
534 | |
532 #ifdef USE_CHARDET | 535 #ifdef USE_CHARDET |
533 taglib_set_strings_unicode(FALSE); | 536 taglib_set_strings_unicode(FALSE); |
534 #endif | 537 #endif |
535 | 538 |
536 if ((file = vfs_fopen(filename, "rb")) != NULL) | 539 if ((file = vfs_fopen(filename, "rb")) != NULL) |