Commit 4ba983ca authored by Josh Coalson's avatar Josh Coalson
Browse files

fix seek bug in raw encoding

parent 52dfccec
......@@ -394,6 +394,9 @@ int encode_raw(const char *infile, const char *outfile, bool verbose, uint64 ski
}
}
}
else {
fseek(fin, 0, SEEK_SET);
}
if(!init_encoder(lax, do_mid_side, loose_mid_side, do_exhaustive_model_search, do_qlp_coeff_prec_search, rice_optimization_level, max_lpc_order, blocksize, qlp_coeff_precision, channels, bps, sample_rate, &encoder_wrapper))
goto raw_abort_;
......
Supports Markdown
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