[FFmpeg-cvslog] avfilter/vf_mix: use correct type for flags

Paul B Mahol git at videolan.org
Thu Feb 17 10:10:04 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu Feb 17 09:06:02 2022 +0100| [881b80ffcf3292ffba367b907024cb861578ad6e] | committer: Paul B Mahol

avfilter/vf_mix: use correct type for flags

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=881b80ffcf3292ffba367b907024cb861578ad6e
---

 libavfilter/vf_mix.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c
index 61ab963483..693b0595d8 100644
--- a/libavfilter/vf_mix.c
+++ b/libavfilter/vf_mix.c
@@ -56,10 +56,10 @@ typedef struct MixContext {
 
 static int query_formats(AVFilterContext *ctx)
 {
-    int reject_flags = AV_PIX_FMT_FLAG_BITSTREAM |
-                       AV_PIX_FMT_FLAG_HWACCEL   |
-                       AV_PIX_FMT_FLAG_PAL;
-    int accept_flags = 0;
+    unsigned reject_flags = AV_PIX_FMT_FLAG_BITSTREAM |
+                            AV_PIX_FMT_FLAG_HWACCEL   |
+                            AV_PIX_FMT_FLAG_PAL;
+    unsigned accept_flags = 0;
 
     if (!HAVE_BIGENDIAN)
         reject_flags |= AV_PIX_FMT_FLAG_BE;



More information about the ffmpeg-cvslog mailing list