diff options
Diffstat (limited to 'src/internal/audio/kitaudio.c')
-rw-r--r-- | src/internal/audio/kitaudio.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/internal/audio/kitaudio.c b/src/internal/audio/kitaudio.c index e4ac6a7..e0302ee 100644 --- a/src/internal/audio/kitaudio.c +++ b/src/internal/audio/kitaudio.c @@ -300,11 +300,6 @@ int Kit_GetAudioDecoderData(Kit_Decoder *dec, unsigned char *buf, int len) { free_out_audio_packet_cb(packet);
packet = next_packet;
}
-
- // If we still have NULL packet, stop here.
- if(packet == NULL) {
- break;
- }
dec->clock_pos = packet->pts;
if(packet->pts > sync_ts - KIT_AUDIO_SYNC_THRESHOLD) {
|