diff mbox series

[FFmpeg-devel,1/2] lavf/mpenenc: extend options definition

Message ID 20240120170734.611327-1-stefasab@gmail.com
State Accepted
Commit 02e4598f8f40d0ac43d73fa79f02caecf79cbac1
Headers show
Series [FFmpeg-devel,1/2] lavf/mpenenc: extend options definition | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Stefano Sabatini Jan. 20, 2024, 5:07 p.m. UTC
---
 libavformat/mpegenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Anton Khirnov Jan. 21, 2024, 6:38 a.m. UTC | #1
>Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavf/mpenenc: extend options definition
                                                 ^
                                               typo
diff mbox series

Patch

diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 12d9fb33ec..14caf9e162 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -1291,8 +1291,8 @@  static void mpeg_mux_deinit(AVFormatContext *ctx)
 #define OFFSET(x) offsetof(MpegMuxContext, x)
 #define E AV_OPT_FLAG_ENCODING_PARAM
 static const AVOption options[] = {
-    { "muxrate", NULL,                                          OFFSET(user_mux_rate), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, ((1<<22) - 1) * (8 * 50), E },
-    { "preload", "Initial demux-decode delay in microseconds.", OFFSET(preload),  AV_OPT_TYPE_INT, { .i64 = 500000 }, 0, INT_MAX, E },
+    { "muxrate", "mux rate as bits/s", OFFSET(user_mux_rate), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, ((1<<22) - 1) * (8 * 50), E },
+    { "preload", "initial demux-decode delay in microseconds", OFFSET(preload),  AV_OPT_TYPE_INT, { .i64 = 500000 }, 0, INT_MAX, E },
     { NULL },
 };