Fix missing NULL character

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@116 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
aymeric 2008-10-24 14:47:50 +00:00
parent 4a17d10766
commit f4d2d7dab4

View file

@ -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)){