diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-08-15 09:59:15 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-08-15 09:59:15 +0000 |
commit | 5409213729f123c03ead144bf09975fee7a6a3bb (patch) | |
tree | bcbe57e643319efb9fb74250fafce4ad4a431b30 | |
parent | ccde039efe801c17b8f4b91859a945525d02ecc0 (diff) |
Re #1285 (SDL): fixed compilation error with SDL < 1.3 (this support should be dropped soon)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3696 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r-- | pjmedia/src/pjmedia-videodev/sdl_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-videodev/sdl_dev.c b/pjmedia/src/pjmedia-videodev/sdl_dev.c index 48e0deeb..3d2d6847 100644 --- a/pjmedia/src/pjmedia-videodev/sdl_dev.c +++ b/pjmedia/src/pjmedia-videodev/sdl_dev.c @@ -1093,7 +1093,7 @@ static pj_status_t sdl_factory_create_stream( #if !SDL_VERSION_ATLEAST(1,3,0) /* Prior to 1.3, SDL does not support multiple renderers. */ pj_mutex_lock(sf->mutex); - if (!pj_list_empty(&sf->streams) { + if (!pj_list_empty(&sf->streams)) { pj_mutex_unlock(sf->mutex); return PJMEDIA_EVID_NOTREADY; } |