Changeset 5678 for pjproject/trunk/pjmedia/src/pjmedia/vid_port.c
- Timestamp:
- Nov 1, 2017 4:55:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/vid_port.c
r5595 r5678 483 483 pjmedia_vid_port *vp; 484 484 pjmedia_video_format_detail *vfd; 485 char dev_name[64];486 485 char fmt_name[5]; 487 486 pjmedia_vid_dev_cb vid_cb; … … 491 490 pjmedia_vid_dev_param vparam; 492 491 pjmedia_vid_dev_info di; 492 char dev_name[sizeof(di.name) + sizeof(di.driver) + 4]; 493 493 494 494 PJ_ASSERT_RETURN(pool && prm && p_vid_port, PJ_EINVAL); … … 523 523 dev_name[0] = '\0'; 524 524 525 pj_ansi_snprintf(dev_name, sizeof(dev_name), "%s [%s]", 526 di.name, di.driver); 525 pj_ansi_snprintf(dev_name, sizeof(dev_name), "%s [%s]", di.name, di.driver); 527 526 pjmedia_fourcc_name(vparam.fmt.id, fmt_name); 528 527 PJ_LOG(4,(THIS_FILE,
Note: See TracChangeset
for help on using the changeset viewer.