Skip to content
Snippets Groups Projects
Commit 5c3d1551 authored by Gregory Maxwell's avatar Gregory Maxwell
Browse files

In silk_dec_API.c a memcpy was blindly copying data of differing types...

In silk_dec_API.c a memcpy was blindly copying data of differing types (opus_int16[2] to opus_int[2]).
parent 03f7de77
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,9 @@ opus_int silk_Decode(
{
silk_stereo_decode_pred( psRangeDec, &decode_only_middle, MS_pred_Q13 );
} else {
SKP_memcpy( MS_pred_Q13, &psDec->sStereo.pred_prev_Q13, sizeof( MS_pred_Q13 ) );
for( n = 0; n < 2; n++ ) {
MS_pred_Q13[n] = psDec->sStereo.pred_prev_Q13[n];
}
}
}
......
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