projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52dfcce
)
fix seek bug in raw encoding
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 2 Feb 2001 20:00:26 +0000
(20:00 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 2 Feb 2001 20:00:26 +0000
(20:00 +0000)
src/flac/encode.c
patch
|
blob
|
history
diff --git
a/src/flac/encode.c
b/src/flac/encode.c
index
851dda8
..
5150dab
100644
(file)
--- a/
src/flac/encode.c
+++ b/
src/flac/encode.c
@@
-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_;