Skip to content
Snippets Groups Projects
Commit 89a1fcf8 authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "vp9_dx_iface: check for NULL/0-size input"

parents cefaaa86 20395189
No related branches found
No related tags found
No related merge requests found
......@@ -368,6 +368,8 @@ static vpx_codec_err_t vp9_decode(vpx_codec_alg_priv_t *ctx,
uint32_t sizes[8];
int frames_this_pts, frame_count = 0;
if (data == NULL || data_sz == 0) return VPX_CODEC_INVALID_PARAM;
parse_superframe_index(data, data_sz, sizes, &frames_this_pts);
do {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment