summaryrefslogtreecommitdiffstats
path: root/main/kodi/remove-av_read_frame_flush.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/kodi/remove-av_read_frame_flush.patch')
-rw-r--r--main/kodi/remove-av_read_frame_flush.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/kodi/remove-av_read_frame_flush.patch b/main/kodi/remove-av_read_frame_flush.patch
new file mode 100644
index 000000000..f931aae58
--- /dev/null
+++ b/main/kodi/remove-av_read_frame_flush.patch
@@ -0,0 +1,13 @@
+--- a/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp.orig
++++ b/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
+@@ -539,10 +539,6 @@
+
+ void CDVDDemuxFFmpeg::Flush()
+ {
+- // naughty usage of an internal ffmpeg function
+- if (m_pFormatContext)
+- av_read_frame_flush(m_pFormatContext);
+-
+ m_currentPts = DVD_NOPTS_VALUE;
+
+ m_pkt.result = -1;