Ignore:
Timestamp:
Jun 13, 2013 9:36:49 AM (11 years ago)
Author:
nanang
Message:

Fixed #1676: fixed assertion when SDL initialization fails on library startup.

File:
1 edited

Legend:

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

    r4520 r4535  
    448448    SDL_version version; 
    449449 
     450    pj_list_init(&sf->streams); 
     451 
    450452    status = job_queue_create(sf->pool, &sf->jq); 
    451453    if (status != PJ_SUCCESS) 
     
    456458        return status; 
    457459 
    458     pj_list_init(&sf->streams); 
    459460    status = pj_mutex_create_recursive(sf->pool, "sdl_factory", 
    460461                                       &sf->mutex); 
Note: See TracChangeset for help on using the changeset viewer.