Ignore:
Timestamp:
Apr 4, 2012 10:07:18 AM (12 years ago)
Author:
nanang
Message:

More re #1478: fixed build config and compile warnings on MSVC2005.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/avi_dev.c

    r4016 r4021  
    285285{ 
    286286    pjmedia_vid_dev_factory *f; 
    287     struct avi_factory *cf = (struct avi_factory*)f; 
     287    struct avi_factory *cf; 
    288288    unsigned local_idx; 
    289289    struct avi_dev_info *adi; 
     
    466466    struct avi_dev_info *adi; 
    467467    struct avi_dev_strm *strm; 
    468     pj_status_t status; 
    469468 
    470469    PJ_ASSERT_RETURN(f && param && p_vid_strm, PJ_EINVAL); 
     
    501500 
    502501    return PJ_SUCCESS; 
    503  
    504 on_error: 
    505     if (pool) 
    506         pj_pool_release(pool); 
    507     return status; 
    508502} 
    509503 
     
    529523 
    530524    PJ_UNUSED_ARG(strm); 
     525    PJ_UNUSED_ARG(cap); 
     526    PJ_UNUSED_ARG(pval); 
    531527 
    532528    PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); 
     
    543539 
    544540    PJ_UNUSED_ARG(strm); 
     541    PJ_UNUSED_ARG(cap); 
     542    PJ_UNUSED_ARG(pval); 
    545543 
    546544    PJ_ASSERT_RETURN(s && pval, PJ_EINVAL); 
Note: See TracChangeset for help on using the changeset viewer.