[FFmpeg-devel] [PATCH 2/4] libavcodec/j2kenc: Fix tag tree coding

Michael Niedermayer michael at niedermayer.cc
Wed Aug 19 12:47:28 EEST 2020


On Wed, Aug 19, 2020 at 01:10:35AM +0530, gautamramk at gmail.com wrote:
> From: Gautam Ramakrishnan <gautamramk at gmail.com>
> 
> This patch fixes tag tree coding for JPEG2000
> encoder.
> ---
>  libavcodec/j2kenc.c   | 43 +++++++++++++++++++++++++------------------
>  libavcodec/jpeg2000.c |  1 +
>  libavcodec/jpeg2000.h |  1 +
>  3 files changed, 27 insertions(+), 18 deletions(-)
> 
> diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
> index 16863f8e8c..1c31e48d61 100644
> --- a/libavcodec/j2kenc.c
> +++ b/libavcodec/j2kenc.c
> @@ -239,30 +239,37 @@ static void j2k_flush(Jpeg2000EncoderContext *s)
>  /* tag tree routines */
>  
>  /** code the value stored in node */
> -static void tag_tree_code(Jpeg2000EncoderContext *s, Jpeg2000TgtNode *node, int threshold)
> +static void tag_tree_code(Jpeg2000EncoderContext *s, Jpeg2000TgtNode *node, int threshold, int log)

This breaks build until a subsequent patch


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200819/a21f1cd4/attachment.sig>


More information about the ffmpeg-devel mailing list