diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-03-30 18:15:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-04-15 22:38:11 +0200 |
commit | b66b297e583ed11fbfeda9ad426751f1eccb8c76 (patch) | |
tree | ad3c0cea4935c3ce9b8802c22d877f1ba2ba30c7 | |
parent | abddc911ffc3086093a24f3188d044aa5b9b1766 (diff) | |
download | ffmpeg-b66b297e583ed11fbfeda9ad426751f1eccb8c76.tar.gz |
avcodec/j2kenc: fix 5/3 DWT identifer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f6955b6df4b599ff5604e82987b96957414f8dd5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/j2kenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c index 0de6ed7e16..f8c9f7fbe3 100644 --- a/libavcodec/j2kenc.c +++ b/libavcodec/j2kenc.c @@ -1233,7 +1233,7 @@ static const AVOption options[] = { { "tile_height", "Tile Height", OFFSET(tile_height), AV_OPT_TYPE_INT, { .i64 = 256 }, 1, 1<<30, VE, }, { "pred", "DWT Type", OFFSET(pred), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, VE, "pred" }, { "dwt97int", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, INT_MIN, INT_MAX, VE, "pred" }, - { "dwt53", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 0 }, INT_MIN, INT_MAX, VE, "pred" }, + { "dwt53", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = 1 }, INT_MIN, INT_MAX, VE, "pred" }, { NULL } }; |