- Timestamp:
- Dec 15, 2011 6:45:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/opencore_amrnb.c
r3841 r3911 1 /* $Id */1 /* $Id$ */ 2 2 /* 3 3 * Copyright (C) 2011 Teluu Inc. (http://www.teluu.com) … … 23 23 */ 24 24 #include <pjmedia-codec/g722.h> 25 #include <pjmedia-codec/amr_sdp_match.h> 25 26 #include <pjmedia/codec.h> 26 27 #include <pjmedia/errno.h> … … 167 168 { 168 169 pjmedia_codec_mgr *codec_mgr; 170 pj_str_t codec_name; 169 171 pj_status_t status; 170 172 … … 188 190 goto on_error; 189 191 } 192 193 /* Register format match callback. */ 194 pj_cstr(&codec_name, "AMR"); 195 status = pjmedia_sdp_neg_register_fmt_match_cb( 196 &codec_name, 197 &pjmedia_codec_amr_match_sdp); 198 if (status != PJ_SUCCESS) 199 goto on_error; 190 200 191 201 /* Register codec factory to endpoint. */
Note: See TracChangeset
for help on using the changeset viewer.