Skip to content

Commit e243777

Browse files
committed
vdisp/decklink
fix double copy; also CID 470421 Copied tvice from 3125ea2 (2024-11-18) - actually the original strcpy() was forgotten (replaced in favor of snprintf_ch).
1 parent 8d91757 commit e243777

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/video_display/decklink.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,6 @@ static bool settings_init(struct state_decklink *s, const char *fmt,
12081208
bool ret = true;
12091209
char tmp[STR_LEN];
12101210
snprintf_ch(tmp, "%s", fmt);
1211-
strcpy(tmp, fmt);
12121211
replace_all(tmp, ESCAPED_COLON, DELDEL); // replace all '\:' with 2xDEL
12131212
char *save_ptr = nullptr;
12141213
char *ptr = strtok_r(tmp, ":", &save_ptr);

0 commit comments

Comments
 (0)