Message ID | 20240708190038.1298576-1-ffmpeg-devel@pileofstuff.org |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] Mention that AV_OPT_TYPE_IMAGE_SIZE can be unsigned | expand |
Context | Check | Description |
---|---|---|
yinshiyou/commit_msg_loongarch64 | warning | The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ". |
andriy/commit_msg_x86 | warning | The first line of the commit message must start with a context terminated by a colon and a space, for example "lavu/opt: " or "doc: ". |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Monday, July 8th, 2024 at 2:00 PM, Andrew Sayers <ffmpeg-devel@pileofstuff.org> wrote: > Mention that AV_OPT_TYPE_IMAGE_SIZE can be unsigned Commit messages must start with a context terminated by a colon and a space. In this case "lavu/opt: " or "avutil/opt: " is an appropriate prefix. > > TileContext in libavfilter/vf_tile.c and > UntileContext in libavfilter/vf_untile.c > point to unsigned ints - confirm this is OK. > --- > libavutil/opt.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/opt.h b/libavutil/opt.h > index 07e27a9208..9339b1a6ac 100644 > --- a/libavutil/opt.h > +++ b/libavutil/opt.h > @@ -252,7 +252,7 @@ enum AVOptionType{ > AV_OPT_TYPE_DICT, > AV_OPT_TYPE_UINT64, > AV_OPT_TYPE_CONST, > - AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive ints > + AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive ints (or unsigned ints) > AV_OPT_TYPE_PIXEL_FMT, > AV_OPT_TYPE_SAMPLE_FMT, > AV_OPT_TYPE_VIDEO_RATE, ///< offset must point to AVRational > -- > 2.45.2 Other than that, looks good to me. Regards, Marcus B Spencer
diff --git a/libavutil/opt.h b/libavutil/opt.h index 07e27a9208..9339b1a6ac 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -252,7 +252,7 @@ enum AVOptionType{ AV_OPT_TYPE_DICT, AV_OPT_TYPE_UINT64, AV_OPT_TYPE_CONST, - AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive ints + AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive ints (or unsigned ints) AV_OPT_TYPE_PIXEL_FMT, AV_OPT_TYPE_SAMPLE_FMT, AV_OPT_TYPE_VIDEO_RATE, ///< offset must point to AVRational