Ignore:
Timestamp:
Jul 7, 2017 10:59:25 AM (2 years ago)
Author:
ming
Message:

Re #2022: Fixed build error on older Mac SDKs if Foundation.h is not explicitly included.
Also fix warning of unused label.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/vid_toolbox.m

    r5603 r5625  
    2727    defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 
    2828 
     29#import <Foundation/Foundation.h> 
    2930#import <VideoToolbox/VideoToolbox.h> 
    3031 
     
    359360    *p_codec = codec; 
    360361    return PJ_SUCCESS; 
    361  
    362 on_error: 
    363     vtool_dealloc_codec(factory, codec); 
    364     return PJMEDIA_CODEC_EFAILED; 
    365362} 
    366363 
Note: See TracChangeset for help on using the changeset viewer.