Changeset 4616
- Timestamp:
- Oct 8, 2013 11:15:22 AM (11 years ago)
- Location:
- pjproject/trunk/pjmedia/src/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/codec.c
r4254 r4616 637 637 /* Update codec param */ 638 638 p->param = pjmedia_codec_param_clone(pool, param); 639 if (!p->param) 639 if (!p->param) { 640 pj_mutex_unlock(mgr->mutex); 640 641 return PJ_EINVAL; 642 } 641 643 642 644 pj_mutex_unlock(mgr->mutex); -
pjproject/trunk/pjmedia/src/pjmedia/vid_codec.c
r4008 r4616 723 723 /* Update codec default param */ 724 724 p->param = pjmedia_vid_codec_param_clone(pool, param); 725 if (!p->param) 725 if (!p->param) { 726 pj_mutex_unlock(mgr->mutex); 726 727 return PJ_EINVAL; 728 } 727 729 728 730 codec_desc->def_param = p;
Note: See TracChangeset
for help on using the changeset viewer.