Commit dd6dec9c authored by Timothy B. Terriberry's avatar Timothy B. Terriberry

Fix pedantic build bustage.

ISO C90 forbids mixed declarations and code, r=bustage
parent 9e3872a8
......@@ -2455,11 +2455,12 @@ int opus_encoder_ctl(OpusEncoder *st, int request, ...)
void *silk_enc;
silk_EncControlStruct dummy;
silk_enc = (char*)st+st->silk_enc_offset;
char *start;
char *start = (char*)&st->OPUS_ENCODER_RESET_START;
start = (char*)&st->OPUS_ENCODER_RESET_START;
OPUS_CLEAR(start, sizeof(OpusEncoder) - (start - (char*)st));
celt_encoder_ctl(celt_enc, OPUS_RESET_STATE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment