diff src/flac113/plugin.c @ 523:221086196f89 trunk

[svn] - flac 113 plugin: do not try to pick tuple from file if file is not accessible via stdio (and stop crashing when such attempts are done); TODO: pick tags from flac via vfs
author giacomo
date Mon, 22 Jan 2007 13:30:28 -0800
parents 5d05cefbf7ae
children 914c96de3244
line wrap: on
line diff
--- a/src/flac113/plugin.c	Mon Jan 22 12:32:00 2007 -0800
+++ b/src/flac113/plugin.c	Mon Jan 22 13:30:28 2007 -0800
@@ -399,9 +399,6 @@
 {
 	FLAC__StreamMetadata streaminfo;
 
-	if(0 == filename)
-		filename = "";
-
 	/* NOTE vfs is not used here, so only try
 	   to pick tags if you can do it with flac library stdio */
 	if ( strncmp(filename,"/",1) )