[FFmpeg-cvslog] lavu/opt: handle UINT options as the POD they are

Anton Khirnov git at videolan.org
Fri Sep 6 15:25:27 EEST 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Aug 26 11:02:24 2024 +0200| [4ef149249a51d7807fea6c1a5bd98a21921f2130] | committer: Anton Khirnov

lavu/opt: handle UINT options as the POD they are

Fixes operations on array UINT options.

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

 libavutil/opt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/opt.c b/libavutil/opt.c
index e07ec8ce0f..d2af76478c 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -98,6 +98,7 @@ static int opt_is_pod(enum AVOptionType type)
     case AV_OPT_TYPE_DURATION:
     case AV_OPT_TYPE_COLOR:
     case AV_OPT_TYPE_BOOL:
+    case AV_OPT_TYPE_UINT:
         return 1;
     }
     return 0;



More information about the ffmpeg-cvslog mailing list