[FFmpeg-cvslog] avcodec/gif: remove flags from gifimage option

Paul B Mahol git at videolan.org
Sat May 11 17:54:06 EEST 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat May 11 16:40:59 2019 +0200| [c81ec19817efa4bfedbcab058fa4422f6a92cfa2] | committer: Paul B Mahol

avcodec/gif: remove flags from gifimage option

It does not belong there.

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

 libavcodec/gif.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 8c3bfdcc46..e2242d0438 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -472,7 +472,7 @@ static const AVOption gif_options[] = {
     { "gifflags", "set GIF flags", OFFSET(flags), AV_OPT_TYPE_FLAGS, {.i64 = GF_OFFSETTING|GF_TRANSDIFF}, 0, INT_MAX, FLAGS, "flags" },
         { "offsetting", "enable picture offsetting", 0, AV_OPT_TYPE_CONST, {.i64=GF_OFFSETTING}, INT_MIN, INT_MAX, FLAGS, "flags" },
         { "transdiff", "enable transparency detection between frames", 0, AV_OPT_TYPE_CONST, {.i64=GF_TRANSDIFF}, INT_MIN, INT_MAX, FLAGS, "flags" },
-    { "gifimage", "enable encoding only images per frame", OFFSET(image), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS, "flags" },
+    { "gifimage", "enable encoding only images per frame", OFFSET(image), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list