Fix crash when mkvparser returns a NULL BlockEntry.
BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1090 Change-Id: I64b7b19581f15d53048e3026c3f8946e344fbe26
This commit is contained in:
parent
71cf9fac83
commit
79d5aac74f
@ -164,7 +164,7 @@ int webm_read_frame(struct WebmInputContext *webm_ctx,
|
||||
}
|
||||
get_new_block = true;
|
||||
}
|
||||
if (status) {
|
||||
if (status || block_entry == NULL) {
|
||||
return -1;
|
||||
}
|
||||
if (get_new_block) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user