diff options
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/ffmpeg_plugin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/decoder/ffmpeg_plugin.c b/src/decoder/ffmpeg_plugin.c index ba3355ee7..80cc00a5e 100644 --- a/src/decoder/ffmpeg_plugin.c +++ b/src/decoder/ffmpeg_plugin.c @@ -243,10 +243,9 @@ ffmpeg_send_packet(struct decoder *decoder, struct input_stream *is, packet_data += len; packet_size -= len; - if (audio_size <= 0) { - g_message("no audio frame\n"); + if (audio_size <= 0) continue; - } + cmd = decoder_data(decoder, is, audio_buf, audio_size, position, |