aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp')
-rw-r--r--multimedia/xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/multimedia/xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp b/multimedia/xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp
deleted file mode 100644
index debf3072e946..000000000000
--- a/multimedia/xbmc/files/patch-xbmc__cdrip__EncoderFFmpeg.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- xbmc/cdrip/EncoderFFmpeg.cpp.orig 2013-02-06 19:11:19.000000000 +0100
-+++ xbmc/cdrip/EncoderFFmpeg.cpp 2013-02-06 19:11:45.000000000 +0100
-@@ -77,7 +77,13 @@
- }
-
- m_Format = m_dllAvFormat.avformat_alloc_context();
-+#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,1,0)
- m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), AVIO_FLAG_READ, this, NULL, MuxerReadPacket, NULL);
-+#elif LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53,0,0)
-+ m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), AVIO_RDONLY, this, NULL, MuxerReadPacket, NULL);
-+#else
-+ m_Format->pb = m_dllAvFormat.avio_alloc_context(m_BCBuffer, sizeof(m_BCBuffer), URL_RDONLY, this, NULL, MuxerReadPacket, NULL);
-+#endif
- if (!m_Format->pb)
- {
- m_dllAvUtil.av_freep(&m_Format);