Ignore:
Timestamp:
Apr 6, 2015 6:21:41 AM (6 years ago)
Author:
nanang
Message:

Misc (re #1782): Fixed various compile warnings on MacOS & iOS.

File:
1 edited

Legend:

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

    r4875 r5046  
    146146 
    147147#define MAP_CONV_PACK_TO_PACK(src,dst,method) GET_PJ_FORMAT(src),\ 
    148         GET_PJ_FORMAT(dst),CONV_PACK_TO_PACK,method 
     148        GET_PJ_FORMAT(dst),CONV_PACK_TO_PACK,(gen_conv_func)&method 
    149149#define MAP_CONV_PACK_TO_PLANAR(src,dst,method) GET_PJ_FORMAT(src),\ 
    150         GET_PJ_FORMAT(dst),CONV_PACK_TO_PLANAR,method 
     150        GET_PJ_FORMAT(dst),CONV_PACK_TO_PLANAR,(gen_conv_func)&method 
    151151#define MAP_CONV_PLANAR_TO_PACK(src,dst,method) GET_PJ_FORMAT(src),\ 
    152         GET_PJ_FORMAT(dst),CONV_PLANAR_TO_PACK,method 
     152        GET_PJ_FORMAT(dst),CONV_PLANAR_TO_PACK,(gen_conv_func)&method 
    153153#define MAP_CONV_PLANAR_TO_PLANAR(src,dst,method) GET_PJ_FORMAT(src),\ 
    154         GET_PJ_FORMAT(dst),CONV_PLANAR_TO_PLANAR,method 
     154        GET_PJ_FORMAT(dst),CONV_PLANAR_TO_PLANAR,(gen_conv_func)&method 
    155155#define MAP_SCALE_PACK(fmt,method) GET_PJ_FORMAT(fmt),\ 
    156         GET_PJ_FORMAT(fmt),SCALE_PACK,method 
     156        GET_PJ_FORMAT(fmt),SCALE_PACK,(gen_conv_func)&method 
    157157#define MAP_SCALE_PLANAR(fmt,method) GET_PJ_FORMAT(fmt),\ 
    158         GET_PJ_FORMAT(fmt),SCALE_PLANAR,method 
     158        GET_PJ_FORMAT(fmt),SCALE_PLANAR,(gen_conv_func)&method 
    159159 
    160160static fmt_convert_map conv_to_i420[] =  
Note: See TracChangeset for help on using the changeset viewer.