Skip to content

Commit

Permalink
encoder: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jan 30, 2013
1 parent 7fd2dd3 commit 21963a7
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions lib/encoder.js
Expand Up @@ -161,32 +161,6 @@ Encoder.prototype._writeHeader = function (output, fn) {
op_comments.replace();
op_code.replace();

/*
var p = new ogg_packet(op_header);
//console.error(p);
var b = new Buffer(p.bytes);
p.packet.reinterpret(p.bytes).copy(b);
p.packet = b;
//console.error(p);
//console.error(0, p.packet.reinterpret(p.bytes).toString());
p = new ogg_packet(op_comments);
//console.error(p);
b = new Buffer(p.bytes);
p.packet.reinterpret(p.bytes).copy(b);
p.packet = b;
//console.error(p);
//console.error(0, p.packet.reinterpret(p.bytes).toString());
p = new ogg_packet(op_code);
//console.error(p);
b = new Buffer(p.bytes);
p.packet.reinterpret(p.bytes).copy(b);
p.packet = b;
//console.error(p);
//console.error(0, p.packet.reinterpret(p.bytes).toString());
*/

output(op_header); // automatically gets placed in its own `ogg_page`
output(op_comments);

Expand Down

0 comments on commit 21963a7

Please sign in to comment.