Changeset 3911 for pjproject/trunk/pjmedia/src/pjmedia-codec/ipp_codecs.c
- Timestamp:
- Dec 15, 2011 6:45:23 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/ipp_codecs.c
r3878 r3911 19 19 */ 20 20 #include <pjmedia-codec/ipp_codecs.h> 21 #include <pjmedia-codec/amr_sdp_match.h> 22 #include <pjmedia-codec/g7221_sdp_match.h> 21 23 #include <pjmedia/codec.h> 22 24 #include <pjmedia/errno.h> … … 666 668 { 667 669 pjmedia_codec_mgr *codec_mgr; 670 pj_str_t codec_name; 668 671 pj_status_t status; 669 672 … … 695 698 goto on_error; 696 699 } 700 701 /* Register format match callback. */ 702 #if PJMEDIA_HAS_INTEL_IPP_CODEC_G722_1 703 pj_cstr(&codec_name, "G7221"); 704 status = pjmedia_sdp_neg_register_fmt_match_cb( 705 &codec_name, 706 &pjmedia_codec_g7221_match_sdp); 707 if (status != PJ_SUCCESS) 708 goto on_error; 709 #endif 710 711 #if PJMEDIA_HAS_INTEL_IPP_CODEC_AMR 712 pj_cstr(&codec_name, "AMR"); 713 status = pjmedia_sdp_neg_register_fmt_match_cb( 714 &codec_name, 715 &pjmedia_codec_amr_match_sdp); 716 if (status != PJ_SUCCESS) 717 goto on_error; 718 #endif 719 720 #if PJMEDIA_HAS_INTEL_IPP_CODEC_AMRWB 721 pj_cstr(&codec_name, "AMR-WB"); 722 status = pjmedia_sdp_neg_register_fmt_match_cb( 723 &codec_name, 724 &pjmedia_codec_amr_match_sdp); 725 if (status != PJ_SUCCESS) 726 goto on_error; 727 #endif 728 729 /* Suppress compile warning */ 730 PJ_UNUSED_ARG(codec_name); 697 731 698 732 /* Register codec factory to endpoint. */
Note: See TracChangeset
for help on using the changeset viewer.