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

Fixes pseudo-stack

parent 22345ef1
No related branches found
No related tags found
No related merge requests found
......@@ -1806,7 +1806,6 @@ opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int frame_size,
frame_size = frame_size_select(frame_size, st->variable_duration, st->Fs);
if(frame_size<0)
{
RESTORE_STACK;
return OPUS_BAD_ARG;
}
return opus_encode_native(st, pcm, frame_size, data, out_data_bytes, 16);
......@@ -1880,7 +1879,6 @@ opus_int32 opus_encode_float(OpusEncoder *st, const float *pcm, int frame_size,
}
if(frame_size<0)
{
RESTORE_STACK;
return OPUS_BAD_ARG;
}
......
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