Skip to content

Commit 4f70c5a

Browse files
committed
We dont need to use av_strlcpy - we already have libretro-common
strlcpy
1 parent b553065 commit 4f70c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

record/drivers/record_ffmpeg.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,9 +824,9 @@ static bool ffmpeg_init_muxer_pre(ffmpeg_t *handle)
824824
#if !FFMPEG3
825825
_len = MIN(strlen(handle->params.filename) + 1, PATH_MAX_LENGTH);
826826
ctx->url = (char*)av_malloc(_len);
827-
av_strlcpy(ctx->url, handle->params.filename, _len);
827+
strlcpy(ctx->url, handle->params.filename, _len);
828828
#else
829-
av_strlcpy(ctx->filename, handle->params.filename, sizeof(ctx->filename));
829+
strlcpy(ctx->filename, handle->params.filename, sizeof(ctx->filename));
830830
#endif
831831

832832
if (*handle->config.format)

0 commit comments

Comments
 (0)