summaryrefslogtreecommitdiff
path: root/src/internal/audio/kitaudio.c
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2018-09-29 20:41:33 +0300
committerTuomas Virtanen <katajakasa@gmail.com>2018-09-29 20:41:33 +0300
commita42322398d09b97433557d9e1f7686042b9beba5 (patch)
tree5de88bba5f1a154366a0a15dda02488f6ba35023 /src/internal/audio/kitaudio.c
parentf13b325ee0eecdaa7d2acbe0edcaecc8933e39ef (diff)
Code cleanups
Diffstat (limited to 'src/internal/audio/kitaudio.c')
-rw-r--r--src/internal/audio/kitaudio.c5
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) {