diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-30 18:34:21 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-27 22:21:46 +0200 |
commit | 48fc53418959dc0e5ff0d0ac5960fc969c650cc7 (patch) | |
tree | 337e9ccc18fd7318467c9b90cea90e7c56bf682f /package/kodi/patches/patch-xbmc_video_FFmpegVideoDecoder_cpp | |
parent | a0f2893bb45dc0650971af01a7c078f5edfcd419 (diff) |
kodi: update to 17.1
Diffstat (limited to 'package/kodi/patches/patch-xbmc_video_FFmpegVideoDecoder_cpp')
-rw-r--r-- | package/kodi/patches/patch-xbmc_video_FFmpegVideoDecoder_cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/kodi/patches/patch-xbmc_video_FFmpegVideoDecoder_cpp b/package/kodi/patches/patch-xbmc_video_FFmpegVideoDecoder_cpp deleted file mode 100644 index 8493b30f4..000000000 --- a/package/kodi/patches/patch-xbmc_video_FFmpegVideoDecoder_cpp +++ /dev/null @@ -1,20 +0,0 @@ ---- xbmc-16.0-Jarvis.orig/xbmc/video/FFmpegVideoDecoder.cpp 2016-02-20 16:21:19.000000000 +0100 -+++ xbmc-16.0-Jarvis/xbmc/video/FFmpegVideoDecoder.cpp 2016-03-19 18:38:18.710019211 +0100 -@@ -252,7 +252,7 @@ bool FFmpegVideoDecoder::nextFrame( CBas - return false; - - // Due to a bug in swsscale we need to allocate one extra line of data -- if ( avpicture_alloc( m_pFrameRGB, PIX_FMT_RGB32, m_frameRGBwidth, m_frameRGBheight + 1 ) < 0 ) -+ if ( avpicture_alloc( m_pFrameRGB, AV_PIX_FMT_RGB32, m_frameRGBwidth, m_frameRGBheight + 1 ) < 0 ) - return false; - } - -@@ -287,7 +287,7 @@ bool FFmpegVideoDecoder::nextFrame( CBas - - // We got the video frame, render it into the picture buffer - struct SwsContext * context = sws_getContext( m_pCodecCtx->width, m_pCodecCtx->height, m_pCodecCtx->pix_fmt, -- m_frameRGBwidth, m_frameRGBheight, PIX_FMT_RGB32, SWS_FAST_BILINEAR, NULL, NULL, NULL ); -+ m_frameRGBwidth, m_frameRGBheight, AV_PIX_FMT_RGB32, SWS_FAST_BILINEAR, NULL, NULL, NULL ); - - sws_scale( context, m_pFrame->data, m_pFrame->linesize, 0, m_pCodecCtx->height, - m_pFrameRGB->data, m_pFrameRGB->linesize ); |