Skip to content
Snippets Groups Projects
Commit 987921a0 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

fixed the skipping of the zeros (skip the zeros instead of the good samples!)

parent f4f5dac8
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ int main(int argc, char *argv[])
}
#endif
count++;
fwrite(out, sizeof(short), (frame_size-skip)*channels, fout);
fwrite(out+skip, sizeof(short), (frame_size-skip)*channels, fout);
skip = 0;
}
celt_encoder_destroy(enc);
......
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