Merge "Fix crash when mkvparser returns a NULL BlockEntry."

This commit is contained in:
Tom Finegan 2016-04-06 15:03:09 +00:00 committed by Gerrit Code Review
commit 99211b0263

View File

@ -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) {