mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
fix seek bug in raw encoding
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user