Commit f4d2d7da authored by aymeric's avatar aymeric
Browse files

Fix missing NULL character

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@116 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 4a17d107
......@@ -86,6 +86,7 @@ static int _vfw_engine_select_format(VfwEngine *obj){
capGetVideoFormat(obj->capvideo, &videoformat, sizeof(BITMAPINFO));
memcpy(compname,&videoformat.bmiHeader.biCompression,4);
compname[4]='\0';
ms_message("vfw: camera's current format is %s", compname);
driver_last=ms_fourcc_to_pix_fmt(videoformat.bmiHeader.biCompression);
if (driver_last!=MS_PIX_FMT_UNKNOWN && try_format(obj,&videoformat,driver_last)){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment