diff options
Diffstat (limited to 'lib/rbcodec/codecs/aac.c')
-rw-r--r-- | lib/rbcodec/codecs/aac.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/rbcodec/codecs/aac.c b/lib/rbcodec/codecs/aac.c index 8b06f5aa0e..0a4313e69e 100644 --- a/lib/rbcodec/codecs/aac.c +++ b/lib/rbcodec/codecs/aac.c | |||
@@ -202,12 +202,7 @@ enum codec_status codec_run(void) | |||
202 | { | 202 | { |
203 | ci->advance_buffer(file_offset - ci->curpos); | 203 | ci->advance_buffer(file_offset - ci->curpos); |
204 | } | 204 | } |
205 | else if (file_offset == 0) | 205 | |
206 | { | ||
207 | LOGF("AAC: get_sample_offset error\n"); | ||
208 | return CODEC_ERROR; | ||
209 | } | ||
210 | |||
211 | /* Request the required number of bytes from the input buffer */ | 206 | /* Request the required number of bytes from the input buffer */ |
212 | buffer=ci->request_buffer(&n, FAAD_BYTE_BUFFER_SIZE); | 207 | buffer=ci->request_buffer(&n, FAAD_BYTE_BUFFER_SIZE); |
213 | 208 | ||