This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 373c86bac8a37252fc35462b78188219011e1159 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Fri Jan 30 18:44:40 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Tue Feb 10 19:44:46 2026 +0100 swscale/utils: Improve type-safety SwsContext.{src,dst}_format is int (but uses enum AVPixelFormat) values, so the accesses need to be performed using an int for -fshort-enums support. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libswscale/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libswscale/utils.c b/libswscale/utils.c index 195af846d4..52095ab2c7 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -766,7 +766,7 @@ av_cold int ff_sws_fill_xyztables(SwsInternal *c) return 0; } -static int handle_jpeg(enum AVPixelFormat *format) +static int handle_jpeg(/* enum AVPixelFormat */ int *format) { switch (*format) { case AV_PIX_FMT_YUVJ420P: @@ -804,7 +804,7 @@ static int handle_jpeg(enum AVPixelFormat *format) } } -static int handle_0alpha(enum AVPixelFormat *format) +static int handle_0alpha(/* enum AVPixelFormat */ int *format) { switch (*format) { case AV_PIX_FMT_0BGR : *format = AV_PIX_FMT_ABGR ; return 1; @@ -815,7 +815,7 @@ static int handle_0alpha(enum AVPixelFormat *format) } } -static int handle_xyz(enum AVPixelFormat *format) +static int handle_xyz(/* enum AVPixelFormat */ int *format) { switch (*format) { case AV_PIX_FMT_XYZ12BE : *format = AV_PIX_FMT_RGB48BE; return 1; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
