summaryrefslogtreecommitdiff
path: root/media-tv/kodi/files/kodi-14.0-dvddemux-ffmpeg.patch
blob: 94b86666f9edb78a9aceed40d90cfde636847f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sniped from:
http://cvs.rpmfusion.org/viewvc/rpms/kodi/devel/kodi-14.0-dvddemux-ffmpeg.patch?root=free&view=markup

--- xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
+++ xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
@@ -519,10 +519,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;