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;