summaryrefslogtreecommitdiff
path: root/src/libFLAC/stream_encoder_framing.c
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2002-11-16 06:31:54 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2002-11-16 06:31:54 +0000
commit38162d5a651c4475cd9c550f19bb944615ee4845 (patch)
treeadb0a519bd762d75b928a9d8fbcb9f15558f010d /src/libFLAC/stream_encoder_framing.c
parent863dbf3bcb193bc39ad43ee4951c4c897f4ab3b6 (diff)
downloadflac-38162d5a651c4475cd9c550f19bb944615ee4845.tar.gz
add more reserved space to CUESHEET implementation
Diffstat (limited to 'src/libFLAC/stream_encoder_framing.c')
-rw-r--r--src/libFLAC/stream_encoder_framing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libFLAC/stream_encoder_framing.c b/src/libFLAC/stream_encoder_framing.c
index 3d4cf277..e0afb6a8 100644
--- a/src/libFLAC/stream_encoder_framing.c
+++ b/src/libFLAC/stream_encoder_framing.c
@@ -125,6 +125,8 @@ FLAC__bool FLAC__add_metadata_block(const FLAC__StreamMetadata *metadata, FLAC__
return false;
if(!FLAC__bitbuffer_write_raw_uint64(bb, metadata->data.cue_sheet.lead_in, FLAC__STREAM_METADATA_CUESHEET_LEAD_IN_LEN))
return false;
+ if(!FLAC__bitbuffer_write_zeroes(bb, FLAC__STREAM_METADATA_CUESHEET_RESERVED_LEN))
+ return false;
if(!FLAC__bitbuffer_write_raw_uint32(bb, metadata->data.cue_sheet.num_tracks, FLAC__STREAM_METADATA_CUESHEET_NUM_TRACKS_LEN))
return false;
for(i = 0; i < metadata->data.cue_sheet.num_tracks; i++) {