[xiph-commits] r3326 -
libfishsound/branches/1.0-stable-flac/src/examples
conrad at svn.annodex.net
conrad at svn.annodex.net
Wed Jan 9 22:29:24 PST 2008
Author: conrad
Date: 2008-01-09 22:29:24 -0800 (Wed, 09 Jan 2008)
New Revision: 3326
Modified:
libfishsound/branches/1.0-stable-flac/src/examples/fishsound-encode.c
Log:
set granulepos correctly in fishsound-encode
Modified: libfishsound/branches/1.0-stable-flac/src/examples/fishsound-encode.c
===================================================================
--- libfishsound/branches/1.0-stable-flac/src/examples/fishsound-encode.c 2008-01-10 06:11:44 UTC (rev 3325)
+++ libfishsound/branches/1.0-stable-flac/src/examples/fishsound-encode.c 2008-01-10 06:29:24 UTC (rev 3326)
@@ -56,7 +56,7 @@
op.bytes = bytes;
op.b_o_s = b_o_s;
op.e_o_s = 0;
- op.granulepos = 0; /* frameno */
+ op.granulepos = fish_sound_get_frameno (fsound);
op.packetno = -1;
err = oggz_write_feed (oggz, &op, serialno, 0, NULL);
More information about the commits
mailing list