- Timestamp:
- Apr 6, 2011 1:55:01 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia/vid_codec.c
r3425 r3500 307 307 308 308 /* 309 * Get codec info for staticpayload type.309 * Get codec info for the specified payload type. 310 310 */ 311 311 PJ_DEF(pj_status_t) pjmedia_vid_codec_mgr_get_codec_info( … … 316 316 unsigned i; 317 317 318 PJ_ASSERT_RETURN(p_info && pt>=0 && pt < 96, PJ_EINVAL);318 PJ_ASSERT_RETURN(p_info, PJ_EINVAL); 319 319 320 320 if (!mgr) mgr = def_vid_codec_mgr; … … 369 369 /* 370 370 * Convert codec info struct into a unique codec identifier. 371 * A codec identifier looks something like " L16/44100/2".371 * A codec identifier looks something like "H263/34". 372 372 */ 373 373 PJ_DEF(char*) pjmedia_vid_codec_info_to_id( … … 382 382 (int)info->encoding_name.slen, 383 383 info->encoding_name.ptr, 384 info-> clock_rate);384 info->pt); 385 385 386 386 if (len < 1 || len >= (int)max_len) {
Note: See TracChangeset
for help on using the changeset viewer.