summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2011-10-06 06:18:47 +0000
committerLiong Sauw Ming <ming@teluu.com>2011-10-06 06:18:47 +0000
commit1659aded24d74cbe7dc255bfdcb3d53d87867aca (patch)
tree3b535e427a450b086f8ab47ae20638148be6c6cf
parent2c94f2039da8773c2693dc41f47accecfaad3106 (diff)
Re #1370: fixed a bug which accidentally overwrites the function parameter.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3794 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjmedia/src/pjmedia-videodev/sdl_dev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-videodev/sdl_dev.c b/pjmedia/src/pjmedia-videodev/sdl_dev.c
index 9ecdb77d..72a89a61 100644
--- a/pjmedia/src/pjmedia-videodev/sdl_dev.c
+++ b/pjmedia/src/pjmedia-videodev/sdl_dev.c
@@ -667,7 +667,6 @@ static pj_status_t sdl_create_rend(struct sdl_stream * strm,
const pjmedia_video_format_info *vfi;
pjmedia_video_format_detail *vfd;
- fmt = &strm->param.fmt;
sdl_info = get_sdl_format_info(fmt->id);
vfi = pjmedia_get_video_format_info(pjmedia_video_format_mgr_instance(),
fmt->id);