Silence some warnings

This commit is contained in:
Jesse Talavera 2024-12-12 18:16:24 -05:00
parent 0bdf616836
commit 716be2bb22
1 changed files with 2 additions and 2 deletions

View File

@ -298,8 +298,8 @@ static bool ffmpeg_camera_start(void *data)
ffmpeg->decoder_context->width,
ffmpeg->decoder_context->height,
ffmpeg->decoder_context->pix_fmt,
ffmpeg->target_width ? ffmpeg->target_width : ffmpeg->decoder_context->width,
ffmpeg->target_height ? ffmpeg->target_height : ffmpeg->decoder_context->height,
ffmpeg->target_width ? ffmpeg->target_width : (unsigned)ffmpeg->decoder_context->width,
ffmpeg->target_height ? ffmpeg->target_height : (unsigned)ffmpeg->decoder_context->height,
AV_PIX_FMT_ARGB,
SWS_BILINEAR,
NULL, NULL, NULL