[FFmpeg-devel] [PATCH] avformat/adtsenc: clarify option help

Gyan Doshi ffmpeg at gyani.pro
Mon Apr 26 19:16:54 EEST 2021


Will apply tomorrow.

On 2021-04-26 16:52, Gyan Doshi wrote:
> Also remove unnecessary unit as option does not accept any constants.
> ---
>   libavformat/adtsenc.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c
> index ae1b1b364c..19262784ce 100644
> --- a/libavformat/adtsenc.c
> +++ b/libavformat/adtsenc.c
> @@ -216,7 +216,7 @@ static int adts_write_trailer(AVFormatContext *s)
>   static const AVOption options[] = {
>       { "write_id3v2",  "Enable ID3v2 tag writing", OFFSET(id3v2tag), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, ENC},
>       { "write_apetag", "Enable APE tag writing",   OFFSET(apetag),   AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, ENC},
> -    { "write_mpeg2",  "Use MPE2 ID when writing", OFFSET(mpeg_id),  AV_OPT_TYPE_BOOL,  {.i64 = 0}, 0, 1, ENC, "mpeg_id"},
> +    { "write_mpeg2",  "Set MPEG version to MPEG-2", OFFSET(mpeg_id),  AV_OPT_TYPE_BOOL,  {.i64 = 0}, 0, 1, ENC},
>       { NULL },
>   };
>   



More information about the ffmpeg-devel mailing list