summaryrefslogtreecommitdiffstats
path: root/main/kodi/remove-av_read_frame_flush.patch
blob: f931aae580a163dfc0c25234093255316a7bb0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;