add new arch m32c (newlib toolchain)
[openadk.git] / package / kodi / patches / patch-xbmc_cores_dvdplayer_DVDFileInfo_cpp
blob81f58c0294c596aeb89d7d2bdf33e60ae5cc2add
1 --- xbmc-16.0-Jarvis.orig/xbmc/cores/dvdplayer/DVDFileInfo.cpp  2016-02-20 16:21:19.000000000 +0100
2 +++ xbmc-16.0-Jarvis/xbmc/cores/dvdplayer/DVDFileInfo.cpp       2016-03-19 18:38:18.662022310 +0100
3 @@ -275,7 +275,7 @@ bool CDVDFileInfo::ExtractThumb(const st
4  
5              uint8_t *pOutBuf = new uint8_t[nWidth * nHeight * 4];
6              struct SwsContext *context = sws_getContext(picture.iWidth, picture.iHeight,
7 -                  PIX_FMT_YUV420P, nWidth, nHeight, PIX_FMT_BGRA, SWS_FAST_BILINEAR | SwScaleCPUFlags(), NULL, NULL, NULL);
8 +                  AV_PIX_FMT_YUV420P, nWidth, nHeight, AV_PIX_FMT_BGRA, SWS_FAST_BILINEAR, NULL, NULL, NULL);
9  
10              if (context)
11              {