Re: [FFmpeg-devel] [PATCH v1] libavutil: add A2R10G10B10 & A2B10G10R10

2019-09-10 Thread Zhou, Zachary
> -Original Message- > From: ffmpeg-devel On Behalf Of Carl > Eugen Hoyos > Sent: Wednesday, September 11, 2019 7:30 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v1] libavutil: add A2R10G10B10 & > A2B10G10R10 > > Am Di., 10. Sept. 2019 um

Re: [FFmpeg-devel] [PATCH v4 1/2] libavuitl: add A2R10G10B10 & A2B10G10R10

2019-09-10 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Zachary Zhou > Sent: Wednesday, September 11, 2019 13:40 > To: ffmpeg-devel@ffmpeg.org > Cc: Zhou, Zachary > Subject: [FFmpeg-devel] [PATCH v4 1/2] libavuitl: add A2R10G10B10 & > A2B10G10R10

[FFmpeg-devel] [PATCH v4 2/2] avfilter: Add tonemap vaapi filter

2019-09-10 Thread Zachary Zhou
It supports ICL platform. H2H (HDR to HDR): P010 -> A2R10G10B10 H2S (HDR to SDR): P010 -> ARGB --- configure | 2 + doc/filters.texi | 72 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vaapi_vpp.c|

[FFmpeg-devel] [PATCH v4 1/2] libavuitl: add A2R10G10B10 & A2B10G10R10

2019-09-10 Thread Zachary Zhou
--- libavutil/hwcontext_vaapi.c | 6 ++ libavutil/pixfmt.h | 3 +++ 2 files changed, 9 insertions(+) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index cf117640f2..9838250b66 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@

Re: [FFmpeg-devel] [PATCH 2/6] swscale: add swscale support for 422/444 decode outputs

2019-09-10 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Wednesday, September 11, 2019 03:32 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 2/6] swscale: add swscale

Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-10 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Wednesday, September 11, 2019 03:25 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new

Re: [FFmpeg-devel] [PATCH V1 2/4] lavfi/sinc: fix memory leak in error handling path

2019-09-10 Thread myp...@gmail.com
On Tue, Sep 10, 2019 at 9:06 PM Paul B Mahol wrote: > > lgtm > Will apply, Thanks ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH V1 1/4] lavfi/anequalizer: fix memory leak in error handling path

2019-09-10 Thread myp...@gmail.com
On Tue, Sep 10, 2019 at 9:06 PM Paul B Mahol wrote: > > lgtm > Will apply, Thanks ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH V1 4/4] lavf/mux: remove unnecessary packet reset

2019-09-10 Thread myp...@gmail.com
On Tue, Sep 10, 2019 at 8:05 PM Andreas Rheinhardt wrote: > > Jun Zhao: > > From: Jun Zhao > > > > remove unnecessary packet reset in av_interleaved_write_frame > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/mux.c |6 ++ > > 1 files changed, 2 insertions(+), 4 deletions(-) > >

[FFmpeg-devel] [PATCH V8] avcodec/libvpxenc: add ROI-based encoding support for VP8/VP9

2019-09-10 Thread Guo, Yejun
example command line to verify it: ./ffmpeg -i input.stream -vf addroi=0:0:iw/3:ih/3:-0.8 -c:v libvpx -b:v 2M tmp.webm Signed-off-by: Guo, Yejun --- libavcodec/libvpxenc.c | 188 + libavcodec/version.h | 2 +- 2 files changed, 189

Re: [FFmpeg-devel] [PATCH V7] avcodec/libvpxenc: add ROI-based encoding support for VP8/VP9

2019-09-10 Thread Guo, Yejun
please ignore this patch since the version number in libavcodec/version.h has been changed, and so conflicts, I'll rebase it and send out a new V8 patch. > -Original Message- > From: Guo, Yejun > Sent: Thursday, August 29, 2019 10:35 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun >

Re: [FFmpeg-devel] [PATCH] libavcodec/libx264 and libx265: add a flag to output ROI warnings only once.

2019-09-10 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Monday, September 02, 2019 12:38 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH] libavcodec/libx264 and libx265: add a flag to output ROI > warnings only once. > > Signed-off-by: Guo, Yejun > --- >

[FFmpeg-devel] [PATCH 2/3] avcodec/vc1_pred: Fix invalid shifts in scaleforopp()

2019-09-10 Thread Michael Niedermayer
Fixes: left shift of negative value -2 Fixes: 16964/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1IMAGE_fuzzer-5757853565976576 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer ---

[FFmpeg-devel] [PATCH 1/3] avcodec/vc1_block: Fix invalid shift with rangeredfrm

2019-09-10 Thread Michael Niedermayer
Fixes: left shift of negative value -7 Fixes: 16959/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-5200360825683968 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vc1_block.c

[FFmpeg-devel] [PATCH 3/3] vcodec/vc1: compute rangex/y only for P/B frames

2019-09-10 Thread Michael Niedermayer
Fixes: left shift of 1073741824 by 1 places cannot be represented in type 'int' Fixes: 16976/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-4847262047404032 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH v2] avcodec/tscc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-10 Thread Carl Eugen Hoyos
Am Do., 5. Sept. 2019 um 00:45 Uhr schrieb : > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/tscc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c > index 6d03081..b0dbef4 100644 > --- a/libavcodec/tscc.c >

Re: [FFmpeg-devel] [PATCH v1] libavutil: add A2R10G10B10 & A2B10G10R10

2019-09-10 Thread Carl Eugen Hoyos
Am Di., 10. Sept. 2019 um 11:35 Uhr schrieb Zachary Zhou : > > --- > libavutil/hwcontext_vaapi.c | 6 ++ > libavutil/pixfmt.h | 3 +++ > 2 files changed, 9 insertions(+) > > diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c > index cf117640f2..9838250b66 100644 >

Re: [FFmpeg-devel] [PATCH] avcodec/webp: avoid trying to decode trailing junk in bitstreams

2019-09-10 Thread Pascal Massimino
On Tue, Sep 10, 2019 at 5:12 PM Michael Niedermayer wrote: > On Mon, Sep 09, 2019 at 11:13:53AM +0200, Pascal Massimino wrote: > > Michael, > > > > On Fri, Sep 6, 2019 at 6:21 PM Michael Niedermayer > > > wrote: > > > > > On Fri, Sep 06, 2019 at 01:11:50PM +0200, Pascal Massimino wrote: > > > >

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsv: Fix MSDK initialization failure in system memory mode

2019-09-10 Thread Mark Thompson
On 04/09/2019 16:40, Zhong Li wrote: > MSDK does not create internal acceleration device on Linux, > So MFXVideoCORE_SetHandle() is necessary. > It has been added for ff_qsv_init_session_device(). > But missed for ff_qsv_init_internal_session() due to commit > 1f26a23 overwrited commit db89f45 >

Re: [FFmpeg-devel] [PATCH V2] lavu/qsv: remove the redundant libmfx init code

2019-09-10 Thread Mark Thompson
On 05/09/2019 06:24, Zhong Li wrote: > Signed-off-by: Zhong Li > --- > libavutil/hwcontext_qsv.c | 24 ++-- > 1 file changed, 2 insertions(+), 22 deletions(-) > > diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c > index 0329a81..1c0e4ff 100644 > ---

Re: [FFmpeg-devel] [PATCH 2/6] swscale: add swscale support for 422/444 decode outputs

2019-09-10 Thread Carl Eugen Hoyos
Am Di., 10. Sept. 2019 um 18:09 Uhr schrieb Linjie Fu : > --- a/libswscale/output.c > +++ b/libswscale/output.c > @@ -2403,6 +2403,53 @@ yuv2ya8_X_c(SwsContext *c, const int16_t *lumFilter, > } > > static void > +yuv2ayuv_X_c(SwsContext *c, const int16_t *lumFilter, > + const

Re: [FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-10 Thread Carl Eugen Hoyos
Am Di., 10. Sept. 2019 um 18:08 Uhr schrieb Linjie Fu : > > Add some packed pixel formats for hardware decode support > in VAAPI and QSV: > > 4:2:2 10 bit: Y210 > 4:4:4 8 bit: AYUV > 4:4:4 10 bit: Y410 Please add a short explanation (either in the commit message or only in this thread) for which

Re: [FFmpeg-devel] [PATCH v3] avformat/movenc: split empty text sample when duration overflow

2019-09-10 Thread Jun Li
On Tue, Sep 10, 2019 at 12:12 PM Jun Li wrote: > Fix #7637 > One empty/end sample is created and inserted between two caption lines > when there is a gap. > This patch is to split the sample into multiple ones when its duration is > too long (>= INT_MAX). > --- > libavformat/movenc.c

[FFmpeg-devel] [PATCH v3] avformat/movenc: split empty text sample when duration overflow

2019-09-10 Thread Jun Li
Fix #7637 One empty/end sample is created and inserted between two caption lines when there is a gap. This patch is to split the sample into multiple ones when its duration is too long (>= INT_MAX). --- libavformat/movenc.c | 24 ++-

[FFmpeg-devel] [PATCH] qsv: get FrameInfo.Shift by desc->comp[0].shift

2019-09-10 Thread Linjie Fu
Since Y410 is a pixel format with depth > 8 but shift = 0, get Shift info by depth is not quite accurate. Signed-off-by: Linjie Fu --- libavcodec/qsvenc.c | 4 ++-- libavutil/hwcontext_qsv.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/qsvenc.c

[FFmpeg-devel] [PATCH 6/6] lavu/hwcontext_qsv: add frame map support for HEVC rext support

2019-09-10 Thread Linjie Fu
Signed-off-by: Linjie Fu --- libavutil/hwcontext_qsv.c | 25 + 1 file changed, 25 insertions(+) diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 0329a81..7f8f2de 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@ -103,6

[FFmpeg-devel] [PATCH 5/6] lavc/qsv: add pixfmt fourcc map for AYUV/Y210/Y410

2019-09-10 Thread Linjie Fu
Signed-off-by: Linjie Fu --- libavcodec/qsv.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index 65ad070..adfe09a 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @@ -218,6 +218,9 @@ enum AVPixelFormat ff_qsv_map_fourcc(uint32_t

[FFmpeg-devel] [PATCH 4/6] lavu/hwcontext_vaapi: add vaapi_format_map support for AYUV/Y210/Y410

2019-09-10 Thread Linjie Fu
There is no VA_RT_FORMAT_AYUV in defined in libva, and currently in media-driver, VA_FOURCC_AYUV is used to represent VA_RT_FORMAT_AYUV. Another patch could be sent to refine the code after this issue is addressed: https://github.com/intel/libva/issues/335 Signed-off-by: Linjie Fu ---

[FFmpeg-devel] [PATCH 3/6] fate: add tests support for AYUV/Y210/Y410

2019-09-10 Thread Linjie Fu
Signed-off-by: Linjie Fu --- tests/ref/fate/filter-pixdesc-ayuv | 1 + tests/ref/fate/filter-pixfmts-copy | 1 + tests/ref/fate/filter-pixfmts-crop | 1 + tests/ref/fate/filter-pixfmts-field | 1 + tests/ref/fate/filter-pixfmts-fieldorder | 1 +

[FFmpeg-devel] [PATCH 2/6] swscale: add swscale support for 422/444 decode outputs

2019-09-10 Thread Linjie Fu
Signed-off-by: Linjie Fu --- libswscale/input.c | 74 libswscale/output.c | 50 +++ libswscale/utils.c | 3 +++ libswscale/version.h | 2 +- 4 files changed, 128 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 1/6] lavu/pixfmt: add new pixel format ayuv/y210/y410

2019-09-10 Thread Linjie Fu
Add some packed pixel formats for hardware decode support in VAAPI and QSV: 4:2:2 10 bit: Y210 4:4:4 8 bit: AYUV 4:4:4 10 bit: Y410 Signed-off-by: Linjie Fu --- libavutil/pixdesc.c | 62 +++ libavutil/pixfmt.h| 9 +++

Re: [FFmpeg-devel] [PATCH, v2 2/2] lavc/vaapi_decode: recreate hw_frames_ctx for vp9 without destroy va_context

2019-09-10 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Tuesday, September 10, 2019 08:02 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH, v2 2/2] lavc/vaapi_decode: recreate > hw_frames_ctx for vp9 without

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/dxv: Check op_offset in both directions

2019-09-10 Thread Paul B Mahol
On 9/10/19, Michael Niedermayer wrote: > On Mon, Sep 09, 2019 at 10:29:14PM +0200, Paul B Mahol wrote: >> On 9/9/19, Michael Niedermayer wrote: >> > On Fri, Jul 19, 2019 at 09:53:34PM +0200, Michael Niedermayer wrote: >> >> On Fri, Jul 19, 2019 at 03:36:43PM +0200, Paul B Mahol wrote: >> >> > On

[FFmpeg-devel] [PATCH v1] avformat/dashdec: remove the unnecessary type conversion

2019-09-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/dashdec.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index a6f7551..4db61d8 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fix a warnning of indentation not reflect the block structure.

2019-09-10 Thread Michael Niedermayer
On Mon, Sep 09, 2019 at 11:50:51AM +0800, Shiyou Yin wrote: > The indentation of code dose not reflect the if block structure in > 'apply_ltp_mips', and this will generate a warnning when build with > '-Wall' or '-Wmisleading-indentation'. > --- > libavcodec/mips/aacdec_mips.c | 6 +++--- > 1

Re: [FFmpeg-devel] [PATCH V1 3/4] lavf/avidec: fix memory leak in error handling path

2019-09-10 Thread Michael Niedermayer
On Tue, Sep 10, 2019 at 07:39:27PM +0800, Jun Zhao wrote: > From: Jun Zhao > > free the value in error handling path to avoid the memory leak. > > Signed-off-by: Jun Zhao > --- > libavformat/avidec.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH] avcodec/webp: avoid trying to decode trailing junk in bitstreams

2019-09-10 Thread Michael Niedermayer
On Mon, Sep 09, 2019 at 11:13:53AM +0200, Pascal Massimino wrote: > Michael, > > On Fri, Sep 6, 2019 at 6:21 PM Michael Niedermayer > wrote: > > > On Fri, Sep 06, 2019 at 01:11:50PM +0200, Pascal Massimino wrote: > > > Michael, > > > > > > On Thu, Sep 5, 2019 at 6:20 PM Michael Niedermayer > >

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/dxv: Check op_offset in both directions

2019-09-10 Thread Michael Niedermayer
On Mon, Sep 09, 2019 at 10:29:14PM +0200, Paul B Mahol wrote: > On 9/9/19, Michael Niedermayer wrote: > > On Fri, Jul 19, 2019 at 09:53:34PM +0200, Michael Niedermayer wrote: > >> On Fri, Jul 19, 2019 at 03:36:43PM +0200, Paul B Mahol wrote: > >> > On 7/19/19, Michael Niedermayer wrote: > >> > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_fps: Avoid inlink fifo build up.

2019-09-10 Thread Michael Niedermayer
On Mon, Sep 09, 2019 at 09:19:06AM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Take away the freedom of one citizen and you will be jailed, take away the freedom of all citizens and you will be congratulated

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: ffio_free_dyn_buf the oc->pb at hls_write_trailer

2019-09-10 Thread Limin Wang
Maybe it's better to change the subject from: avformat/hlsenc: ffio_free_dyn_buf the oc->pb at hls_write_trailer to avformat/hlsenc: fix memleak at hls_write_trailer On Mon, Sep 09, 2019 at 02:15:21PM +0800, Steven Liu wrote: > fix memleak at hls_write_trailer > > Found-by: Andreas Rheinhardt

Re: [FFmpeg-devel] [PATCH v2] avcodec/tscc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-10 Thread Limin Wang
On Thu, Sep 05, 2019 at 06:44:55AM +0800, lance.lmw...@gmail.com wrote: ping > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/tscc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/tscc.c b/libavcodec/tscc.c > index 6d03081..b0dbef4

[FFmpeg-devel] [PATCH v1] avcodec/pngenc: fix the warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'const uint8_t *

2019-09-10 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/pngenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index d4d8dc8..e78a829 100644 --- a/libavcodec/pngenc.c +++ b/libavcodec/pngenc.c @@ -274,7 +274,7 @@ static int

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/g2meet: Check for end of input in jpg_decode_block()

2019-09-10 Thread Michael Niedermayer
On Mon, Sep 09, 2019 at 11:04:32PM +0200, Tomas Härdin wrote: > mån 2019-09-09 klockan 22:16 +0200 skrev Michael Niedermayer: > > Fixes: Timeout (100sec -> 0.7sec) > > Fixes: > > 8668/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-5174143888130048 > > > > Found-by: continuous

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/g2meet: Check if adjusted pixel was on the stack

2019-09-10 Thread Michael Niedermayer
On Mon, Sep 09, 2019 at 11:03:48PM +0200, Tomas Härdin wrote: > mån 2019-09-09 klockan 22:16 +0200 skrev Michael Niedermayer: > > This basically checks if a pixel that was coded with prediction > > and residual could have been stored using a previous case. > > This avoids basically a string of 0

Re: [FFmpeg-devel] [PATCH V1 2/4] lavfi/sinc: fix memory leak in error handling path

2019-09-10 Thread Paul B Mahol
lgtm On 9/10/19, Jun Zhao wrote: > From: Jun Zhao > > free work_wraps in error handling path to avoid memory leak. > > Signed-off-by: Jun Zhao > --- > libavfilter/asrc_sinc.c |5 - > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/libavfilter/asrc_sinc.c

Re: [FFmpeg-devel] [PATCH V1 1/4] lavfi/anequalizer: fix memory leak in error handling path

2019-09-10 Thread Paul B Mahol
lgtm On 9/10/19, Jun Zhao wrote: > From: Jun Zhao > > free the pad.name in error handling path to avoid memory leak. > > Signed-off-by: Jun Zhao > --- > libavfilter/af_anequalizer.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/libavfilter/af_anequalizer.c

[FFmpeg-devel] Add sample_aspect_ratio and frame_rate to AVCodecParserContext

2019-09-10 Thread Markus Pfau
we use av_parser to extract stream information for custom demuxers (e.g. live-tv broadcasts) to extract stream information the custom demuxer does not provide. This is for example codec extra data / width / height for video, and sample rate for audio:

Re: [FFmpeg-devel] [PATCH V1 4/4] lavf/mux: remove unnecessary packet reset

2019-09-10 Thread Andreas Rheinhardt
Jun Zhao: > From: Jun Zhao > > remove unnecessary packet reset in av_interleaved_write_frame > > Signed-off-by: Jun Zhao > --- > libavformat/mux.c |6 ++ > 1 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/libavformat/mux.c b/libavformat/mux.c > index 0227c0d..9bac252

[FFmpeg-devel] [PATCH V1 1/4] lavfi/anequalizer: fix memory leak in error handling path

2019-09-10 Thread Jun Zhao
From: Jun Zhao free the pad.name in error handling path to avoid memory leak. Signed-off-by: Jun Zhao --- libavfilter/af_anequalizer.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavfilter/af_anequalizer.c b/libavfilter/af_anequalizer.c index 03d939f..ee82474

[FFmpeg-devel] [PATCH V1 3/4] lavf/avidec: fix memory leak in error handling path

2019-09-10 Thread Jun Zhao
From: Jun Zhao free the value in error handling path to avoid the memory leak. Signed-off-by: Jun Zhao --- libavformat/avidec.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index df78925..e3cd844 100644 ---

[FFmpeg-devel] [PATCH V1 4/4] lavf/mux: remove unnecessary packet reset

2019-09-10 Thread Jun Zhao
From: Jun Zhao remove unnecessary packet reset in av_interleaved_write_frame Signed-off-by: Jun Zhao --- libavformat/mux.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index 0227c0d..9bac252 100644 --- a/libavformat/mux.c

[FFmpeg-devel] [PATCH V1 2/4] lavfi/sinc: fix memory leak in error handling path

2019-09-10 Thread Jun Zhao
From: Jun Zhao free work_wraps in error handling path to avoid memory leak. Signed-off-by: Jun Zhao --- libavfilter/asrc_sinc.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libavfilter/asrc_sinc.c b/libavfilter/asrc_sinc.c index 0135eb9..90f043d 100644 ---

Re: [FFmpeg-devel] [PATCH 1/1] avcodec/h264: Fix poc_lsb in open gop context

2019-09-10 Thread Paul B Mahol
On 9/10/19, Gaullier Nicolas wrote: >>De : ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] De la part de >> Kieran Kunhya >>Envoyé : lundi 2 septembre 2019 18:12 >>Objet : Re: [FFmpeg-devel] [PATCH 1/1] avcodec/h264: Fix poc_lsb in open >> gop context >> >>Patch seems good. >> >>Kieran > >

[FFmpeg-devel] [PATCH 1/1] avcodec/h264: Fix poc_lsb in open gop context

2019-09-10 Thread Gaullier Nicolas
>De : ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] De la part de >Kieran Kunhya >Envoyé : lundi 2 septembre 2019 18:12 >Objet : Re: [FFmpeg-devel] [PATCH 1/1] avcodec/h264: Fix poc_lsb in open gop >context > >Patch seems good. > >Kieran Can someone please apply the patch ? Thanks

Re: [FFmpeg-devel] [PATCH] avcodec/h2645_parse: simplify memset call

2019-09-10 Thread Andriy Gelman
On Sat, 07. Sep 15:55, Andriy Gelman wrote: > From: Andriy Gelman > > Removed (new_size - pkt->nals_allocated) because this value is always 1 > during the call. > --- > libavcodec/h2645_parse.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/h2645_parse.c

[FFmpeg-devel] [PATCH v1] libavutil: add A2R10G10B10 & A2B10G10R10

2019-09-10 Thread Zachary Zhou
--- libavutil/hwcontext_vaapi.c | 6 ++ libavutil/pixfmt.h | 3 +++ 2 files changed, 9 insertions(+) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index cf117640f2..9838250b66 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c @@

Re: [FFmpeg-devel] [PATCH v2] avcodec/h2645_parse: refine the code for better readiablity

2019-09-10 Thread Andriy Gelman
On Tue, 10. Sep 13:38, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/h2645_parse.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c > index

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/pnm_parser: Use memchr() in pnm_parse()

2019-09-10 Thread Paul B Mahol
lgtm On 9/10/19, Michael Niedermayer wrote: > Fixes: Timeout (45sec -> 0.5sec) > Fixes: > 16942/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PPM_fuzzer-5085393073995776 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

[FFmpeg-devel] Looking for someone who is interested in some (paid!) freelance/consulting work around/in the FFmpeg (C-)codebase.

2019-09-10 Thread Thies C. Arntzen
Hi, First of all -> THANK YOU FOR FFMPEG! We are currently building some software on macOS that basically does screen recording. Today we use the AVFoundation framework for all compression and movie-file writing. We currently use the macOS

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsv: Fix MSDK initialization failure in system memory mode

2019-09-10 Thread Li, Zhong
> From: Li, Zhong > Sent: Wednesday, September 4, 2019 11:41 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Li, Zhong > Subject: [PATCH 1/2] lavc/qsv: Fix MSDK initialization failure in system > memory > mode > > MSDK does not create internal acceleration device on Linux, So > MFXVideoCORE_SetHandle()