changeset 790:8f437afc4f4a trunk

[svn] - more sanity checking
author nenolod
date Fri, 03 Mar 2006 20:09:52 -0800
parents 4dcda61511f7
children 093965283548
files Plugins/Input/mpg123/id3_tag.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/id3_tag.c	Fri Mar 03 20:04:24 2006 -0800
+++ b/Plugins/Input/mpg123/id3_tag.c	Fri Mar 03 20:09:52 2006 -0800
@@ -135,5 +135,8 @@
             return -1;
     }
 
+    if (id3->id3_frame == NULL)
+	return -1;
+
     return 0;
 }