OSDN Git Service

Remove broken assert. ebml_read_element_id can handle level_up set to NULL.
authorAlex Beregszaszi <alex@rtfs.hu>
Fri, 13 Jul 2007 11:58:15 +0000 (11:58 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Fri, 13 Jul 2007 11:58:15 +0000 (11:58 +0000)
Originally committed as revision 9621 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroskadec.c

index 4ca2b6a..b7d8cd6 100644 (file)
@@ -310,8 +310,6 @@ ebml_peek_id (MatroskaDemuxContext *matroska,
 {
     uint32_t id;
 
-    assert(level_up != NULL);
-
     if (ebml_read_element_id(matroska, &id, level_up) < 0)
         return 0;