summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/aac.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/aac.c')
-rw-r--r--lib/rbcodec/codecs/aac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/aac.c b/lib/rbcodec/codecs/aac.c
index 1f5165ad05..8353f0b1bf 100644
--- a/lib/rbcodec/codecs/aac.c
+++ b/lib/rbcodec/codecs/aac.c
@@ -185,6 +185,8 @@ enum codec_status codec_run(void)
185 } 185 }
186 NeAACDecPostSeekReset(decoder, i); 186 NeAACDecPostSeekReset(decoder, i);
187 ci->seek_complete(); 187 ci->seek_complete();
188 if (i >= demux_res.num_sample_byte_sizes)
189 break;
188 } 190 }
189 191
190 action = CODEC_ACTION_NULL; 192 action = CODEC_ACTION_NULL;