Skip to content

Commit

Permalink
obs-ffmpeg: Fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
notr1ch committed Apr 19, 2022
1 parent 42ce624 commit 4c96fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/obs-ffmpeg/obs-ffmpeg-mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ static inline bool should_split(struct ffmpeg_muxer *stream,
static bool send_new_filename(struct ffmpeg_muxer *stream, const char *filename)
{
size_t ret;
uint32_t size = strlen(filename);
uint32_t size = (uint32_t)strlen(filename);
struct ffm_packet_info info = {.type = FFM_PACKET_CHANGE_FILE,
.size = size};

Expand Down

0 comments on commit 4c96fea

Please sign in to comment.