search for: nframesperpayload

Displaying 1 result from an estimated 1 matches for "nframesperpayload".

2012 Aug 06
1
[PATCH] Fixed sizeof param in silk_get_TOC. Size for memset was calculated wrong.
...c_API.c @@ -357,7 +357,7 @@ opus_int silk_get_TOC( return -1; } - silk_memset( Silk_TOC, 0, sizeof( Silk_TOC ) ); + silk_memset( Silk_TOC, 0, sizeof( silk_TOC_struct ) ); /* For stereo, extract the flags for the mid channel */ flags = silk_RSHIFT( payload[ 0 ], 7 - nFramesPerPayload ) & ( silk_LSHIFT( 1, nFramesPerPayload + 1 ) - 1 ); -- 1.7.9.6 (Apple Git-31.1)