Created
December 27, 2015 16:59
-
-
Save anonymous/9a18c1d74f612cc1b80e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c | |
index 4b4e16c..7f32e8d 100644 | |
--- a/demux/demux_mkv.c | |
+++ b/demux/demux_mkv.c | |
@@ -2609,7 +2609,7 @@ static int read_next_block(demuxer_t *demuxer, struct block_info *block) | |
} | |
// For the sake of robustness, consider even unknown level 1 | |
// elements the same as unknown/broken IDs. | |
- if (!ebml_is_mkv_level1_id(id) || | |
+ if ((!ebml_is_mkv_level1_id(id) && id != EBML_ID_VOID) || | |
ebml_read_skip(demuxer->log, -1, s) != 0) | |
{ | |
ebml_resync_cluster(demuxer->log, s); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment