mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
16 lines
580 B
Diff
16 lines
580 B
Diff
From: Stefan Hachmann <stefan@hachmann-it.de>
|
|
To: 881536@bugs.debian.org
|
|
Subject: Re: Bug#881536: ffmpeg: Breaks sound in kodi
|
|
|
|
--- a/xbmc/cores/VideoPlayer/VideoPlayerAudio.cpp
|
|
+++ b/xbmc/cores/VideoPlayer/VideoPlayerAudio.cpp
|
|
@@ -486,7 +486,7 @@
|
|
// guess next pts
|
|
m_audioClock += audioframe.duration;
|
|
|
|
- int ret = m_pAudioCodec->Decode(nullptr, 0, DVD_NOPTS_VALUE, DVD_NOPTS_VALUE);
|
|
+ int ret = 0;
|
|
if (ret < 0)
|
|
{
|
|
CLog::Log(LOGERROR, "CVideoPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet (%d)", ret);
|