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.
This commit is contained in:
parent
76469c64b4
commit
08ef1f4c6c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue