add new arch m32c (newlib toolchain)
[openadk.git] / package / kodi / patches / patch-xbmc_cores_dvdplayer_DVDCodecs_Video_VDPAU_cpp
blob33873389daf41e38ea59cbbc3f5d18be125bd0bd
1 --- xbmc-16.0-Jarvis.orig/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp        2016-02-20 16:21:19.000000000 +0100
2 +++ xbmc-16.0-Jarvis/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp     2016-03-19 18:38:18.658022569 +0100
3 @@ -486,7 +486,7 @@ CDecoder::CDecoder() : m_vdpauOutput(&m_
4    m_vdpauConfig.context = 0;
5  }
6  
7 -bool CDecoder::Open(AVCodecContext* avctx, AVCodecContext* mainctx, const enum PixelFormat fmt, unsigned int surfaces)
8 +bool CDecoder::Open(AVCodecContext* avctx, AVCodecContext* mainctx, const enum AVPixelFormat fmt, unsigned int surfaces)
9  {
10    // check if user wants to decode this format with VDPAU
11    std::string gpuvendor = g_Windowing.GetRenderVendor();
12 @@ -760,7 +760,7 @@ int CDecoder::Check(AVCodecContext* avct
13    return 0;
14  }
16 -bool CDecoder::IsVDPAUFormat(PixelFormat format)
17 +bool CDecoder::IsVDPAUFormat(AVPixelFormat format)
18  {
19    if (format == AV_PIX_FMT_VDPAU)
20      return true;