Ignore:
Timestamp:
May 18, 2016 10:11:53 AM (7 years ago)
Author:
riza
Message:

Re #1920: Avoid linking error when video is not enabled.

File:
1 edited

Legend:

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

    r5198 r5306  
    2020#include <pj/errno.h> 
    2121 
    22 #if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL 
     22#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) && \ 
     23    defined(PJMEDIA_HAS_LIBSWSCALE) && (PJMEDIA_HAS_LIBSWSCALE != 0) 
    2324 
    2425#include "ffmpeg_util.h" 
     
    206207#endif 
    207208 
    208 #endif /* #if PJMEDIA_HAS_LIBSWSCALE && PJMEDIA_HAS_LIBAVUTIL */ 
     209#endif /* PJMEDIA_HAS_LIBSWSCALE */ 
Note: See TracChangeset for help on using the changeset viewer.