Changeset 3823


Ignore:
Timestamp:
Oct 18, 2011 5:17:13 AM (8 years ago)
Author:
nanang
Message:

Re #1390: Fixed possible compile error in ffmpeg_util.c, the new ffmpeg format PIX_FMT_GBR24P is only available in libavutil 51.20.1 onward.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/ffmpeg_util.c

    r3819 r3823  
    3535    { PJMEDIA_FORMAT_RGB24,PIX_FMT_BGR24}, 
    3636    { PJMEDIA_FORMAT_BGRA, PIX_FMT_BGRA}, 
     37#if (LIBAVUTIL_VERSION_MAJOR >= 51) && (LIBAVUTIL_VERSION_MINOR >= 20) && \ 
     38    (LIBAVUTIL_VERSION_MICRO >= 1) 
    3739    { PJMEDIA_FORMAT_GBRP, PIX_FMT_GBR24P}, 
     40#endif 
    3841 
    3942    { PJMEDIA_FORMAT_AYUV, PIX_FMT_NONE}, 
Note: See TracChangeset for help on using the changeset viewer.