[FFmpeg-trac] #2135(avcodec:new): libutvideo wrapper compilation fails if utvideo is version 12.0.0

FFmpeg trac at avcodec.org
Sat Jan 12 21:34:41 CET 2013


#2135: libutvideo wrapper compilation fails if utvideo is version 12.0.0
---------------------------------+--------------------------------------
             Reporter:  qyot27   |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:  utvideo  |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 The reason is because the RGB names have changed in 12.0.0, leaving the
 UTVF_RGB24/32_WIN names in the wrapper referring to labels that don't
 exist in the library.

 I was able to fix it by changing the reference to UTVF_RGB24_WIN to
 UTVF_NFCC_BGR24_BU, and the reference to UTVF_RGB32_WIN to
 UTVF_NFCC_BGRX_BU and UTVF_NFCC_BGRA_BU in both the decoding and encoding
 wrappers.  Not sure if ''both'' BGRX and BGRA should be defined for RGB32,
 though.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2135>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list