summaryrefslogtreecommitdiff
path: root/libavcodec/gif.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-05-11 16:40:59 +0200
committerPaul B Mahol <onemda@gmail.com>2019-05-11 16:42:13 +0200
commitc81ec19817efa4bfedbcab058fa4422f6a92cfa2 (patch)
tree1da96aff715ee13dfa397fe22cc6b38a14147f8a /libavcodec/gif.c
parent0158dd14a35ff88c4837d4b463e1f393040884c9 (diff)
downloadffmpeg-c81ec19817efa4bfedbcab058fa4422f6a92cfa2.tar.gz
avcodec/gif: remove flags from gifimage option
It does not belong there.
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r--libavcodec/gif.c2
1 files changed, 1 insertions, 1 deletions
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 }
};