mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-08 02:06:02 +08:00
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
This commit is contained in:
@@ -310,8 +310,6 @@ ebml_peek_id (MatroskaDemuxContext *matroska,
|
|||||||
{
|
{
|
||||||
uint32_t id;
|
uint32_t id;
|
||||||
|
|
||||||
assert(level_up != NULL);
|
|
||||||
|
|
||||||
if (ebml_read_element_id(matroska, &id, level_up) < 0)
|
if (ebml_read_element_id(matroska, &id, level_up) < 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user