Re: [FFmpeg-devel] [RFC PATCH v4 2/5] libavcodec/j2kenc: Fix tag tree coding

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 09:50:04AM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > The implementation of tag tree encoding was incorrect. > However, this error was not visible as the current j2k > encoder encodes only 1 layer. > This patch fixes tag tree coding for JPEG2000 suc

Re: [FFmpeg-devel] [RFC PATCH v4 5/5] doc/encoders.texi: Add documentation for JPEG2000 layers

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 09:50:07AM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch adds documentation for the utility and usage > of "layer_rates" option used in the JPEG2000 encoder. > --- > doc/encoders.texi | 16 > 1 file changed, 16 insertions(+

Re: [FFmpeg-devel] [RFC PATCH v4 4/5] libavcodec/j2kenc: Support for multiple layers

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 09:50:06AM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch allows setting a compression ratio and to > set multiple layers. The user has to input a compression > ratio for each layer. > The per layer compression ration can be set as follows: >

Re: [FFmpeg-devel] [RFC PATCH v4 3/5] libavcodec/jpeg2000: Modify cleanup

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 09:50:05AM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > This patch makes the ff_jpeg2000_cleanup > function take in an extra parameter which > indicates whether it is called from the > encoder or decoder. > --- > libavcodec/j2kenc.c | 2 +- > li

[FFmpeg-devel] [PATCH] avcodec/ff_mpv_encode_end: fix a crash for null s->avctx

2020-08-25 Thread Xu Guangxin
Steps to reproduce: 1. ./configure --enable-debug=3 --disable-libx264 && make install 2. ffmpeg -i input.mp4 -profile:v baseline output.mp4 -y you will see a crash like this: [mpeg4 @ 0x575854c0] [Eval @ 0x7fffbf80] Undefined constant or missing '(' in 'baseline' [mpeg4 @ 0x575854c0]

Re: [FFmpeg-devel] [RFC PATCH v4 4/5] libavcodec/j2kenc: Support for multiple layers

2020-08-25 Thread Gautam Ramakrishnan
On Tue, Aug 25, 2020 at 2:09 PM Michael Niedermayer wrote: > > On Tue, Aug 25, 2020 at 09:50:06AM +0530, gautamr...@gmail.com wrote: > > From: Gautam Ramakrishnan > > > > This patch allows setting a compression ratio and to > > set multiple layers. The user has to input a compression > > ratio fo

Re: [FFmpeg-devel] [RFC PATCH v4 5/5] doc/encoders.texi: Add documentation for JPEG2000 layers

2020-08-25 Thread Gautam Ramakrishnan
On Tue, Aug 25, 2020 at 2:07 PM Michael Niedermayer wrote: > > On Tue, Aug 25, 2020 at 09:50:07AM +0530, gautamr...@gmail.com wrote: > > From: Gautam Ramakrishnan > > > > This patch adds documentation for the utility and usage > > of "layer_rates" option used in the JPEG2000 encoder. > > --- > >

Re: [FFmpeg-devel] [PATCH 1/3] avformat: add moflex demuxer

2020-08-25 Thread Paul B Mahol
On 8/25/20, Andreas Rheinhardt wrote: > Paul B Mahol: >> Signed-off-by: Paul B Mahol >> --- >> [WIP] Missing video decoder. >> --- >> libavformat/Makefile | 1 + >> libavformat/allformats.c | 1 + >> libavformat/moflex.c | 291 +++ >> 3 files chang

Re: [FFmpeg-devel] [PATCH 1/3] avformat: add moflex demuxer

2020-08-25 Thread Andreas Rheinhardt
Paul B Mahol: > On 8/25/20, Andreas Rheinhardt wrote: >> Paul B Mahol: >>> Signed-off-by: Paul B Mahol >>> --- >>> [WIP] Missing video decoder. >>> --- >>> libavformat/Makefile | 1 + >>> libavformat/allformats.c | 1 + >>> libavformat/moflex.c | 291 +

Re: [FFmpeg-devel] [RFC PATCH v4 2/5] libavcodec/j2kenc: Fix tag tree coding

2020-08-25 Thread Gautam Ramakrishnan
On Tue, Aug 25, 2020 at 1:18 PM Michael Niedermayer wrote: > > On Tue, Aug 25, 2020 at 09:50:04AM +0530, gautamr...@gmail.com wrote: > > From: Gautam Ramakrishnan > > > > The implementation of tag tree encoding was incorrect. > > However, this error was not visible as the current j2k > > encoder

[FFmpeg-devel] [RFC PATCH v5 3/3] libavcodec/j2kenc: Support for multiple layers

2020-08-25 Thread gautamramk
From: Gautam Ramakrishnan This patch allows setting a compression ratio and to set multiple layers. The user has to input a compression ratio for each layer. The per layer compression ration can be set as follows: -layer_rates "r1,r2,...rn" for to create 'n' layers. --- doc/encoders.texi

[FFmpeg-devel] [RFC PATCH v5 1/3] libavcodec/jpeg2000: Make tag tree functions non static

2020-08-25 Thread gautamramk
From: Gautam Ramakrishnan This patch makes the tag_tree_zero() and tag_tree_size() functions non static and callable from other files. --- libavcodec/jpeg2000.c | 12 ++-- libavcodec/jpeg2000.h | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/libavcodec/jpeg2000.c

[FFmpeg-devel] [RFC PATCH v5 2/3] libavcodec/j2kenc: Fix tag tree coding

2020-08-25 Thread gautamramk
From: Gautam Ramakrishnan The implementation of tag tree encoding was incorrect. However, this error was not visible as the current j2k encoder encodes only 1 layer. This patch fixes tag tree coding for JPEG2000 such tag tree coding would work for multi layer encoding. --- libavcodec/j2kenc.c

[FFmpeg-devel] [PATCH] avcodec/libdav1d: Call ff_set_sar in addition to setting the frame SAR

2020-08-25 Thread Derek Buitenhuis
Similar to what we do in libaomdec.c. Signed-off-by: Derek Buitenhuis --- libavcodec/libdav1d.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index fd801c6fd5..3af7ef4edc 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -274,6

[FFmpeg-devel] [PATCH 01/19] avfilter/avfilter: Fix indentation

2020-08-25 Thread Andreas Rheinhardt
Forgotten after fdd93eabfb2644f541f7aac9943abce26776ea73. Signed-off-by: Andreas Rheinhardt --- libavfilter/avfilter.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index dd8074e462..cf3b4e461d 100644 --- a/

[FFmpeg-devel] [PATCH 03/19] avfilter/af_anequalizer: Don't allocate outpad names

2020-08-25 Thread Andreas Rheinhardt
These names are always the same, so not using duplicates saves allocations, checks for the allocations as well as frees. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_anequalizer.c | 20 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/libavfilter/af_ane

[FFmpeg-devel] [PATCH 04/19] avfilter/vf_premultiply: Fix leak of names of inpads

2020-08-25 Thread Andreas Rheinhardt
These names leak because freeing them in the uninit function has been forgotten. Instead of adding the freeing code, this commit stops allocating these names. They are constants anyway. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_premultiply.c | 16 1 file changed, 4 in

[FFmpeg-devel] [PATCH 02/19] avfilter/af_anequalizer: Fix memleak when inserting pad fails

2020-08-25 Thread Andreas Rheinhardt
It has been forgotten to free the name of the second outpad if attaching the first one to the AVFilterContext fails. Fixing this is easy: Only prepare the second outpad after (and if) the first outpad has been successfully attached to the AVFilterContext. Signed-off-by: Andreas Rheinhardt --- li

[FFmpeg-devel] [PATCH 05/19] avfilter/vf_fieldmatch: Don't allocate inpad names

2020-08-25 Thread Andreas Rheinhardt
These names are always the same, so not using duplicates saves allocations, checks for the allocations as well as frees. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_fieldmatch.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/libavfilter/vf_field

[FFmpeg-devel] [PATCH 08/19] avfilter/f_ebur128: Don't allocate outpad names

2020-08-25 Thread Andreas Rheinhardt
These names are mostly the same, so not using duplicates saves allocations, checks for the allocations as well as frees. Signed-off-by: Andreas Rheinhardt --- libavfilter/f_ebur128.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/libavfilter/f_ebur128.c b

[FFmpeg-devel] [PATCH 13/19] avfilter/af_aiir: Avoid temporary buffer when drawing image

2020-08-25 Thread Andreas Rheinhardt
When creating the output video, a temporary buffer is used whose elments are only used three times: Once to store a value in it, once more to add the value of the preceding element of the temporary buffer to the current element and once more to add the current i. element to the i. element of anothe

[FFmpeg-devel] [PATCH 07/19] avfilter/src_movie: Avoid intermediate buffer for writing string

2020-08-25 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/src_movie.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 64d82e9df1..eeb8609855 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c @@ -213,7 +213,6 @

[FFmpeg-devel] [PATCH 09/19] avfilter/vf_bm3d: Don't allocate inpad names

2020-08-25 Thread Andreas Rheinhardt
These names are always the same, so not using duplicates saves allocations, checks for the allocations as well as frees. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_bm3d.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/libavfilter/vf_bm3d.c b/li

[FFmpeg-devel] [PATCH 11/19] avfilter/af_aiir: Fix segfault and leak upon allocation failure

2020-08-25 Thread Andreas Rheinhardt
The aiir filter adds output pads in its init function. Each of these output pads had a name which was allocated and to be freed in the uninit function. Given that the aiir filter has between one and two outputs, one output pad's name was freed unconditionally and a second was freed conditionally.

[FFmpeg-devel] [PATCH 16/19] avfilter/vf_signature: Fix leak of string upon error

2020-08-25 Thread Andreas Rheinhardt
If an error happens between allocating a string intended to be used as an inpad's name and attaching it to its input pad, the string leaks. Fix this by inserting the inpad directly after allocating its string. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_signature.c | 9 - 1 file

[FFmpeg-devel] [PATCH 10/19] avfilter/avf_aphasemeter: Don't allocate outpad names

2020-08-25 Thread Andreas Rheinhardt
These names are always the same, so not using duplicates saves allocations, checks for the allocations as well as frees. Signed-off-by: Andreas Rheinhardt --- libavfilter/avf_aphasemeter.c | 19 --- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/libavfilter/avf_ap

[FFmpeg-devel] [PATCH 12/19] avfilter/af_afir: Avoid allocating AVFilterPad names

2020-08-25 Thread Andreas Rheinhardt
If the names are always the same, they need not be duplicated; doing so saves allocations, checks for the allocations as well as frees. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_afir.c | 30 +++--- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/

[FFmpeg-devel] [PATCH 19/19] avfilter/af_headphone: Fix segfault upon allocation failure

2020-08-25 Thread Andreas Rheinhardt
The headphone filter uses a variable number of inpads and allocates them in its init function; if all goes well, the number of inpads coincides with a number stored in the filter's private context. Yet if allocating a subsequent inpad fails, the uninit function nevertheless uses the number stored i

[FFmpeg-devel] [PATCH 17/19] avfilter/vf_signature: Avoid cast from function pointer to void*

2020-08-25 Thread Andreas Rheinhardt
The signature filter uses qsort, but its compare function doesn't have the signature required of such a function; therefore it casts the function pointer to void. Yet this is wrong: C90 only guarantees that one can convert a pointer to any incomplete type or object type to void* and back with the

[FFmpeg-devel] [PATCH 14/19] avfilter/af_amerge: Fix segfault upon allocation failure

2020-08-25 Thread Andreas Rheinhardt
The amerge filter uses a variable number of inpads and allocates them in its init function; if all goes well, the number of inpads coincides with a number stored in the filter's private context. Yet if allocating a subsequent inpad fails, the uninit function nevertheless uses the number stored in t

[FFmpeg-devel] [PATCH 15/19] avfilter/vf_signature: Fix leak of inpads' names

2020-08-25 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- It is not intended for these added lines to live very long: One can add flags to AVFilter.flags_internal that indicate that this filter wants the inpads/outpads' names be freed generically. This will allow to remove most of the code for freeing in/outpads. The

[FFmpeg-devel] [PATCH 06/19] avfilter/vf_decimate: Don't allocate inpad names

2020-08-25 Thread Andreas Rheinhardt
These names are always the same, so not using duplicates saves allocations, checks for the allocations as well as frees. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_decimate.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/libavfilter/vf_decimate

[FFmpeg-devel] [PATCH 20/20] avfilter/af_headphone: Fix leak of channel layouts list on error

2020-08-25 Thread Andreas Rheinhardt
In case the multichannel HRIR mode was enabled, an error could happen between allocating a channel layouts list and attaching it to its target destination. If an error happened, the list would leak. This is fixed by attaching the list to its target directly after its allocation. Signed-off-by: And

Re: [FFmpeg-devel] [PATCH] avcodec/libdav1d: Call ff_set_sar in addition to setting the frame SAR

2020-08-25 Thread James Almer
On 8/25/2020 10:50 AM, Derek Buitenhuis wrote: > Similar to what we do in libaomdec.c. > > Signed-off-by: Derek Buitenhuis > --- > libavcodec/libdav1d.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c > index fd801c6fd5..3af7ef4edc 100644 >

[FFmpeg-devel] [PATCH 18/19] avfilter/vf_signature: Allocate arrays together

2020-08-25 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_signature.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libavfilter/vf_signature.c b/libavfilter/vf_signature.c index 32a6405e14..1ed93051b6 100644 --- a/libavfilter/vf_signature.c +++ b/libavfilter/vf_signature

Re: [FFmpeg-devel] [PATCH] avcodec/ff_mpv_encode_end: fix a crash for null s->avctx

2020-08-25 Thread James Almer
On 8/25/2020 6:35 AM, Xu Guangxin wrote: > Steps to reproduce: > 1. ./configure --enable-debug=3 --disable-libx264 && make install > 2. ffmpeg -i input.mp4 -profile:v baseline output.mp4 -y > > you will see a crash like this: > [mpeg4 @ 0x575854c0] [Eval @ 0x7fffbf80] Undefined constant or

Re: [FFmpeg-devel] [PATCH] avcodec/ff_mpv_encode_end: fix a crash for null s->avctx

2020-08-25 Thread Guangxin Xu
Hi James, thanks for the review. We can't assume s->avctx == avctx. in https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/smvjpegdec.c, it will be assigned to a new allocated codec context. Currently, it's no mpeg video encoder doing this, but in the future, some subclass maybe. On Tue, Aug 2

[FFmpeg-devel] [PATCH v5]libavfilter/asrc_fluidsynthmusic.c : generate algorithmic music

2020-08-25 Thread Ashutosh Pradhan
Generate algorithmic music using riffs, lindenmayer systems, cellular automaton and rhythm algorithms. Changelog |1 + configure |4 + doc/filters.texi | 146 libavfilter/Makefile |1 + libavfilte

Re: [FFmpeg-devel] [PATCH] avcodec/ff_mpv_encode_end: fix a crash for null s->avctx

2020-08-25 Thread James Almer
On 8/25/2020 12:08 PM, Guangxin Xu wrote: > Hi James, > thanks for the review. > We can't assume s->avctx == avctx. in > https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/smvjpegdec.c, it > will be assigned to a new allocated codec context. > Currently, it's no mpeg video encoder doing this,

Re: [FFmpeg-devel] [PATCH]lavc: Lower MediaFoundation encoder priority

2020-08-25 Thread Carl Eugen Hoyos
Am Mi., 24. Juni 2020 um 12:02 Uhr schrieb Moritz Barsnick : > > On Tue, Jun 23, 2020 at 20:43:34 +0200, Carl Eugen Hoyos wrote: > > Pushed with that change, Carl Eugen > > I suggest backporting this to 4.3, where MediaFoundation support was > added (and this issue is present). Done. Carl Eugen _

Re: [FFmpeg-devel] [PATCH]doc/examples: Always open files as "binary", not "text"

2020-08-25 Thread Carl Eugen Hoyos
Am Do., 25. Juni 2020 um 00:04 Uhr schrieb Carl Eugen Hoyos : > Attached patch fixes ticket #8638 and the only other occurrence of > fopen() without b in doc/examples. Patch applied. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http

Re: [FFmpeg-devel] [PATCH 01/19] avfilter/avfilter: Fix indentation

2020-08-25 Thread Nicolas George
Andreas Rheinhardt (12020-08-25): > Forgotten after fdd93eabfb2644f541f7aac9943abce26776ea73. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) Of course ok. Regards, -- Nicolas George ___

Re: [FFmpeg-devel] [PATCH 13/19] avfilter/af_aiir: Avoid temporary buffer when drawing image

2020-08-25 Thread Nicolas George
Andreas Rheinhardt (12020-08-25): > When creating the output video, a temporary buffer is used whose elments > are only used three times: Once to store a value in it, once more to add > the value of the preceding element of the temporary buffer to the current > element and once more to add the curr

Re: [FFmpeg-devel] [PATCH]lavf/rtpdec_jpeg: Fix JFIF version

2020-08-25 Thread Carl Eugen Hoyos
Am Fr., 22. Mai 2020 um 22:39 Uhr schrieb Michael Niedermayer : > > On Thu, May 21, 2020 at 10:05:57PM +0200, Carl Eugen Hoyos wrote: > > Hi! > > > > When receiving jpeg frames via rtp, libavformat currently writes a > > wrong JFIF version (2.01 instead of 1.02), see also 85ca012ba68. > > Attached

Re: [FFmpeg-devel] [PATCH 13/19] avfilter/af_aiir: Avoid temporary buffer when drawing image

2020-08-25 Thread Paul B Mahol
On 8/25/20, Andreas Rheinhardt wrote: > When creating the output video, a temporary buffer is used whose elments > are only used three times: Once to store a value in it, once more to add > the value of the preceding element of the temporary buffer to the current > element and once more to add the

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cbs_av1: add OrderHint to CodedBitstreamAV1Context

2020-08-25 Thread James Almer
On 8/24/2020 2:08 PM, James Almer wrote: > This follows the spec and will come in handy in a following commit. > > Signed-off-by: James Almer > --- > libavcodec/cbs_av1.h | 1 + > libavcodec/cbs_av1_syntax_template.c | 9 + > 2 files changed, 6 insertions(+), 4 deletions(

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix setting FrameWidth in frame_size_with_refs()

2020-08-25 Thread James Almer
On 8/23/2020 8:47 PM, James Almer wrote: > Section 5.9.7 of the spec states > > UpscaledWidth = RefUpscaledWidth[ ref_frame_idx[ i ] ] > FrameWidth= UpscaledWidth > FrameHeight = RefFrameHeight[ ref_frame_idx[ i ] ] > RenderWidth = RefRenderWidth[ ref_frame_idx[ i ] ] >

Re: [FFmpeg-devel] [PATCH 1/3] avformat: add moflex demuxer

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 01:28:56AM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > [WIP] Missing video decoder. [...] > +static int moflex_probe(const AVProbeData *p) > +{ > +if (p->buf[0] != 0x4C && p->buf[1] != 0x32) > +return 0; > + > +return AVPROBE_SCORE_MAX

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix setting FrameWidth in frame_size_with_refs()

2020-08-25 Thread Derek Buitenhuis
On 24/08/2020 00:47, James Almer wrote: > Section 5.9.7 of the spec states > > UpscaledWidth = RefUpscaledWidth[ ref_frame_idx[ i ] ] > FrameWidth= UpscaledWidth > FrameHeight = RefFrameHeight[ ref_frame_idx[ i ] ] > RenderWidth = RefRenderWidth[ ref_frame_idx[ i ] ] >

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix setting FrameWidth in frame_size_with_refs()

2020-08-25 Thread James Almer
On 8/25/2020 6:38 PM, Derek Buitenhuis wrote: > On 24/08/2020 00:47, James Almer wrote: >> Section 5.9.7 of the spec states >> >> UpscaledWidth = RefUpscaledWidth[ ref_frame_idx[ i ] ] >> FrameWidth= UpscaledWidth >> FrameHeight = RefFrameHeight[ ref_frame_idx[ i ] ] >> Render

Re: [FFmpeg-devel] [PATCH] avcodec/ff_mpv_encode_end: fix a crash for null s->avctx

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 11:37:59AM -0300, James Almer wrote: > On 8/25/2020 6:35 AM, Xu Guangxin wrote: > > Steps to reproduce: > > 1. ./configure --enable-debug=3 --disable-libx264 && make install > > 2. ffmpeg -i input.mp4 -profile:v baseline output.mp4 -y > > > > you will see a crash like this:

[FFmpeg-devel] [PATCH] avcodec/mpegvideo_enc: Replace some s->avctx by avctx

2020-08-25 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/mpegvideo_enc.c | 56 +++--- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 09697d89c8..bcc13761ea 100644 --- a/libavcodec/mpegvideo_enc

Re: [FFmpeg-devel] [RFC PATCH v5 2/3] libavcodec/j2kenc: Fix tag tree coding

2020-08-25 Thread Michael Niedermayer
On Tue, Aug 25, 2020 at 07:25:44PM +0530, gautamr...@gmail.com wrote: > From: Gautam Ramakrishnan > > The implementation of tag tree encoding was incorrect. > However, this error was not visible as the current j2k > encoder encodes only 1 layer. > This patch fixes tag tree coding for JPEG2000 suc

Re: [FFmpeg-devel] [RFC PATCH v5 2/3] libavcodec/j2kenc: Fix tag tree coding

2020-08-25 Thread Gautam Ramakrishnan
On Wed, Aug 26, 2020 at 4:04 AM Michael Niedermayer wrote: > > On Tue, Aug 25, 2020 at 07:25:44PM +0530, gautamr...@gmail.com wrote: > > From: Gautam Ramakrishnan > > > > The implementation of tag tree encoding was incorrect. > > However, this error was not visible as the current j2k > > encoder

[FFmpeg-devel] [PATCH] avformat/libsrt: Fix epoll fd leak

2020-08-25 Thread Nicolas Sugino
Call srt_epoll_release() to avoid fd leak on libsrt_open() error. --- libavformat/libsrt.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index 4025b24976..6da372081e 100644 --- a/libavformat/libsrt.c +++ b/libavform