Ignore:
Timestamp:
Apr 13, 2012 8:16:30 AM (7 years ago)
Author:
ming
Message:

Re #1446 (misc): Change the default of PJMEDIA_HAS_FFMPEG_VID_CODEC to PJMEDIA_HAS_FFMPEG_CODEC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/aviplay.c

    r4018 r4051  
    501501    } 
    502502     
    503 #if PJMEDIA_HAS_FFMPEG_CODEC 
    504     status = pjmedia_codec_ffmpeg_init(NULL, &cp.factory); 
     503#if PJMEDIA_HAS_FFMPEG_VID_CODEC 
     504    status = pjmedia_codec_ffmpeg_vid_init(NULL, &cp.factory); 
    505505    if (status != PJ_SUCCESS) 
    506506        goto on_return;     
     
    519519 
    520520on_return:     
    521 #if PJMEDIA_HAS_FFMPEG_CODEC 
    522     pjmedia_codec_ffmpeg_deinit(); 
     521#if PJMEDIA_HAS_FFMPEG_VID_CODEC 
     522    pjmedia_codec_ffmpeg_vid_deinit(); 
    523523#endif 
    524524    pjmedia_aud_subsys_shutdown(); 
Note: See TracChangeset for help on using the changeset viewer.