[FFmpeg-cvslog] avformat/adtsenc: clarify option help

Gyan Doshi git at videolan.org
Tue Apr 27 06:50:56 EEST 2021


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Mon Apr 26 17:08:03 2021 +0530| [45fc214ebfcdf36b935632edda54aee9e8745550] | committer: Gyan Doshi

avformat/adtsenc: clarify option help

Also remove unnecessary unit as option does not accept any constants.

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

 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-cvslog mailing list