shithub: aacdec

Download patch

ref: 4ac3f9ddec70673bd62a4a34b00748c4e6d99f9d
parent: 6c3ec62f298e88165a0a0aeb0c819b8d212d9825
author: menno <menno>
date: Thu Aug 7 13:31:19 EDT 2003

fix in tag reading

--- a/plugins/foo_mp4/foo_mp4.cpp
+++ b/plugins/foo_mp4/foo_mp4.cpp
@@ -22,7 +22,7 @@
 ** Commercial non-GPL licensing of this software is possible.
 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
 **
-** $Id: foo_mp4.cpp,v 1.40 2003/08/07 17:26:26 menno Exp $
+** $Id: foo_mp4.cpp,v 1.41 2003/08/07 17:31:19 menno Exp $
 **/
 
 #include <mp4.h>
@@ -50,7 +50,7 @@
 #endif
 
 DECLARE_COMPONENT_VERSION ("MPEG-4 AAC decoder",
-                           "$Revision: 1.40 $",
+                           "$Revision: 1.41 $",
                            "Based on FAAD2 v" FAAD2_VERSION "\nCopyright (C) 2002-2003 http://www.audiocoding.com" );
 
 class input_mp4 : public input
@@ -277,6 +277,7 @@
             {
                 char *pName = (char*)info->meta_enum_name(i);
                 const char *val = info->meta_enum_value(i);
+                if (!val) continue;
 
                 if (stricmp(pName, "TITLE") == 0)
                 {