Message ID | 20220717133256.35929-2-facefunk@fcfnk.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/2] Typos. | 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: ". |
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
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 |
diff --git a/libavcodec/movtextenc.c b/libavcodec/movtextenc.c index 728338f2cc..40cdaa3a81 100644 --- a/libavcodec/movtextenc.c +++ b/libavcodec/movtextenc.c @@ -693,7 +693,7 @@ static const AVOption options[] = { }; static const AVClass mov_text_encoder_class = { - .class_name = "MOV text enoder", + .class_name = "MOV text encoder", .item_name = av_default_item_name, .option = options, .version = LIBAVUTIL_VERSION_INT, diff --git a/libavutil/opt.h b/libavutil/opt.h index 461b5d3b6b..f250579b29 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -175,8 +175,8 @@ * above, put the following into the child_opts array: * @code * { "test_flags", "This is a test option of flags type.", - * offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, INT_MIN, INT_MAX, "test_unit" }, - * { "flag1", "This is a flag with value 16", 0, AV_OPT_TYPE_CONST, { .i64 = 16 }, 0, 0, "test_unit" }, + * offsetof(child_struct, flags_opt), AV_OPT_TYPE_FLAGS, { .i64 = 0 }, .unit = "test_unit" }, + * { "flag1", "This is a flag with value 16", 0, AV_OPT_TYPE_CONST, { .i64 = 16 }, .unit = "test_unit" }, * @endcode * * @section avoptions_use Using AVOptions
Signed-off-by: facefunk <facefunk@fcfnk.com> --- libavcodec/movtextenc.c | 2 +- libavutil/opt.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)