]> git.sesse.net Git - ffmpeg/commit
libavcodec/jpeg2000: fix tag tree reset
authorGautam Ramakrishnan <gautamramk@gmail.com>
Thu, 27 Aug 2020 18:45:36 +0000 (00:15 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Aug 2020 14:18:37 +0000 (16:18 +0200)
commit341064d68a134e2fb3dd35f8f5b50c6df8506c10
tree767b9687e77cf50e243c16ce6be016b9a88e5b95
parentf0e33119e4fa1cf1705c16affa5daa6f0b487b48
libavcodec/jpeg2000: fix tag tree reset

The implementation of the tag tree did not
set the correct reset value for the encoder.
This lead to inefficent tag tree being encoded.
This patch fixes the implementation of the
ff_tag_tree_zero() function.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/j2kenc.c
libavcodec/jpeg2000.c
libavcodec/jpeg2000.h
tests/ref/vsynth/vsynth1-jpeg2000
tests/ref/vsynth/vsynth1-jpeg2000-97
tests/ref/vsynth/vsynth2-jpeg2000
tests/ref/vsynth/vsynth2-jpeg2000-97
tests/ref/vsynth/vsynth3-jpeg2000
tests/ref/vsynth/vsynth3-jpeg2000-97
tests/ref/vsynth/vsynth_lena-jpeg2000
tests/ref/vsynth/vsynth_lena-jpeg2000-97