aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-07-13 11:58:15 +0000
committerAlex Beregszaszi <alex@rtfs.hu>2007-07-13 11:58:15 +0000
commit51ce035e827e1f3715cbad5f61b129ab08b71818 (patch)
tree210dbb294b9f0fe0a90fdb050e179566aa276cd7
parentaf0f371246b40236253617d3924647adea979d63 (diff)
downloadffmpeg-51ce035e827e1f3715cbad5f61b129ab08b71818.tar.gz
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
-rw-r--r--libavformat/matroskadec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 4ca2b6a745..b7d8cd6497 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;