From 51ce035e827e1f3715cbad5f61b129ab08b71818 Mon Sep 17 00:00:00 2001
From: Alex Beregszaszi <alex@rtfs.hu>
Date: Fri, 13 Jul 2007 11:58:15 +0000
Subject: [PATCH] Remove broken assert. ebml_read_element_id can handle
 level_up set to NULL.

Originally committed as revision 9621 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/matroskadec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 4ca2b6a745d..b7d8cd64979 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -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;
 
-- 
GitLab