summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-21 11:59:03 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-21 11:59:03 +0000
commit98e8b8a088b9ca69116cb9478bbc0843883d9159 (patch)
treecba7b6e0b4a5d034442b0d268b4cf37f3e3208d8
parent2aefbf7549cdc99785282986b2b7691cf7b02ea2 (diff)
downloadrockbox-98e8b8a088b9ca69116cb9478bbc0843883d9159.tar.gz
rockbox-98e8b8a088b9ca69116cb9478bbc0843883d9159.zip
typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6026 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libFLAC/stream_decoder.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/codecs/libFLAC/stream_decoder.c b/apps/codecs/libFLAC/stream_decoder.c
index eb78d18be0..ea6fa6c16c 100644
--- a/apps/codecs/libFLAC/stream_decoder.c
+++ b/apps/codecs/libFLAC/stream_decoder.c
@@ -1140,10 +1140,6 @@ FLAC__bool read_metadata_seektable_(FLAC__StreamDecoder *decoder, FLAC__bool is_
1140 decoder->private_->seek_table.data.seek_table.num_points = length / FLAC__STREAM_METADATA_SEEKPOINT_LENGTH; 1140 decoder->private_->seek_table.data.seek_table.num_points = length / FLAC__STREAM_METADATA_SEEKPOINT_LENGTH;
1141 1141
1142 /* use realloc since we may pass through here several times (e.g. after seeking) */ 1142 /* use realloc since we may pass through here several times (e.g. after seeking) */
1143 if(0 == (decoder->private_->seek_table.data.seek_table.points = (FLAC__StreamMetadata_SeekPoint*)realloc(decoder->private_->seek_table.data.seek_table.points, decoder->private_->seek_table.data.seek_table.num_points * sizeof(FLAC__StreamMetadata_SeekPoint)))) {
1144 decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
1145 return false;
1146 }
1147 for(i = 0; i < decoder->private_->seek_table.data.seek_table.num_points; i++) { 1143 for(i = 0; i < decoder->private_->seek_table.data.seek_table.num_points; i++) {
1148 if(!FLAC__bitbuffer_read_raw_uint64(decoder->private_->input, &xx, FLAC__STREAM_METADATA_SEEKPOINT_SAMPLE_NUMBER_LEN, read_callback_, decoder)) 1144 if(!FLAC__bitbuffer_read_raw_uint64(decoder->private_->input, &xx, FLAC__STREAM_METADATA_SEEKPOINT_SAMPLE_NUMBER_LEN, read_callback_, decoder))
1149 return false; /* the read_callback_ sets the state for us */ 1145 return false; /* the read_callback_ sets the state for us */