Index: ext/taglib/gstid3v2mux.cc
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ext/taglib/gstid3v2mux.cc,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 gstid3v2mux.cc
--- ext/taglib/gstid3v2mux.cc	16 Aug 2006 13:01:32 -0000	1.11
+++ ext/taglib/gstid3v2mux.cc	4 Dec 2006 23:46:55 -0000
@@ -381,7 +381,8 @@ add_id3v2frame_tag (ID3v2::Tag * id3v2ta
             GST_PTR_FORMAT, version, i, num_tags, GST_BUFFER_SIZE (buf), s);
 
         frame = factory->createFrame (bytes, (TagLib::uint) version);
-        id3v2tag->addFrame (frame);
+        if (frame)
+          id3v2tag->addFrame (frame);
       }
     }
   }
