Changeset 4021 for pjproject/trunk/pjmedia/src/pjmedia-videodev/avi_dev.c
- Timestamp:
- Apr 4, 2012 10:07:18 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/avi_dev.c
r4016 r4021 285 285 { 286 286 pjmedia_vid_dev_factory *f; 287 struct avi_factory *cf = (struct avi_factory*)f;287 struct avi_factory *cf; 288 288 unsigned local_idx; 289 289 struct avi_dev_info *adi; … … 466 466 struct avi_dev_info *adi; 467 467 struct avi_dev_strm *strm; 468 pj_status_t status;469 468 470 469 PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); … … 501 500 502 501 return PJ_SUCCESS; 503 504 on_error:505 if (pool)506 pj_pool_release(pool);507 return status;508 502 } 509 503 … … 529 523 530 524 PJ_UNUSED_ARG(strm); 525 PJ_UNUSED_ARG(cap); 526 PJ_UNUSED_ARG(pval); 531 527 532 528 PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); … … 543 539 544 540 PJ_UNUSED_ARG(strm); 541 PJ_UNUSED_ARG(cap); 542 PJ_UNUSED_ARG(pval); 545 543 546 544 PJ_ASSERT_RETURN(s && pval, PJ_EINVAL);
Note: See TracChangeset
for help on using the changeset viewer.