From 98e8b8a088b9ca69116cb9478bbc0843883d9159 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Mon, 21 Feb 2005 11:59:03 +0000 Subject: typo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6026 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libFLAC/stream_decoder.c | 4 ---- 1 file changed, 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_ decoder->private_->seek_table.data.seek_table.num_points = length / FLAC__STREAM_METADATA_SEEKPOINT_LENGTH; /* use realloc since we may pass through here several times (e.g. after seeking) */ - 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)))) { - decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; - return false; - } for(i = 0; i < decoder->private_->seek_table.data.seek_table.num_points; i++) { if(!FLAC__bitbuffer_read_raw_uint64(decoder->private_->input, &xx, FLAC__STREAM_METADATA_SEEKPOINT_SAMPLE_NUMBER_LEN, read_callback_, decoder)) return false; /* the read_callback_ sets the state for us */ -- cgit v1.2.3