Skip to content
Snippets Groups Projects
Commit cb3de6c6 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

oops

parent 0ad07537
No related branches found
Tags v1.1.1-rc
No related merge requests found
......@@ -791,7 +791,7 @@ int opus_decode_native(OpusDecoder *st, const unsigned char *data,
tot_offset += offset;
if (count*st->frame_size > frame_size)
if (count*packet_frame_size > frame_size)
return OPUS_BUFFER_TOO_SMALL;
/* Update the state as the last step to avoid updating it on an invalid packet */
......
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