# HG changeset patch # User nenolod # Date 1141315229 28800 # Node ID 18b54ee82c24af5f1332859a8cc8eccc50c0f7f9 # Parent fc16e70c7a1ba5659a0f25697c4715e0476d5ac1 [svn] - do not operate on a non-existant fd diff -r fc16e70c7a1b -r 18b54ee82c24 Plugins/Input/mpg123/id3.c --- a/Plugins/Input/mpg123/id3.c Wed Mar 01 12:13:38 2006 -0800 +++ b/Plugins/Input/mpg123/id3.c Thu Mar 02 08:00:29 2006 -0800 @@ -404,6 +404,9 @@ { struct id3_tag *id3; + if (fp == NULL) + return NULL; + /* * Allocate ID3 structure. */