Skip to content
Snippets Groups Projects
Commit 08ef1f4c authored by Timothy B. Terriberry's avatar Timothy B. Terriberry Committed by Jean-Marc Valin
Browse files

Properly skip padding in testcelt for stereo.

The right amount of data was being written for the first frame, but
 from the wrong offset in the buffer.
parent 76469c64
No related branches found
No related tags found
No related merge requests found
......@@ -182,7 +182,7 @@ int main(int argc, char *argv[])
}
#endif
count++;
fwrite(out+skip, sizeof(short), (frame_size-skip)*channels, fout);
fwrite(out+skip*channels, sizeof(short), (frame_size-skip)*channels, fout);
skip = 0;
}
PRINT_MIPS(stderr);
......
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