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:
e15dbfc
)
previous commit used the byte offset; this one actually does use the sample number...
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 6 Feb 2002 07:37:42 +0000
(07:37 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 6 Feb 2002 07:37:42 +0000
(07:37 +0000)
src/flac/encode.c
patch
|
blob
|
history
diff --git
a/src/flac/encode.c
b/src/flac/encode.c
index de0d8d03f9253c66eeb7c828991168d261f2a2c3..74ba83bd60345e5ef6592ee7d04a58b1e10d41e5 100644
(file)
--- a/
src/flac/encode.c
+++ b/
src/flac/encode.c
@@
-1018,7
+1018,7
@@
FLAC__StreamEncoderWriteStatus write_callback(const FLAC__StreamEncoder *encoder
memset(&op, 0, sizeof(op));
op.packet = (unsigned char *)buffer;
- op.granulepos = encoder_wrapper->
byt
es_written - 1;
+ op.granulepos = encoder_wrapper->
sampl
es_written - 1;
op.packetno = encoder_wrapper->current_frame;
op.bytes = bytes;