Re: [FFmpeg-devel] [PATCH v2 1/3] avcodec/avs3_parser: set has_b_frames properly

2022-05-22 Thread zhilizhao(赵志立)
> On May 13, 2022, at 6:12 PM, Zhao Zhili wrote: > > has_b_frames should be output_reorder_delay field in AVS3 sequence > header and larger than 1. The parser implementation doesn't parse > that field. Decoder can set has_b_frames properly, so use FFMAX > here to avoid resetting has_b_frames f

Re: [FFmpeg-devel] [PATCH] avcodec/libuavs3d: fix access uninitialized variable when draining

2022-05-22 Thread zhilizhao(赵志立)
> On May 13, 2022, at 8:59 AM, myp...@gmail.com wrote: > > On Thu, May 12, 2022 at 5:55 PM Zhao Zhili wrote: >> >> buf_ptr is uninitialized and accessed when function return. >> --- >> libavcodec/libuavs3d.c | 3 +-- >> 1 file changed, 1 insertion(+), 2 deletions(-) >> >> diff --git a/libavco

Re: [FFmpeg-devel] [PATCH v7 1/2] lavc/vaapi_encode: add support for maxframesize

2022-05-22 Thread Wang, Fei W
> -Original Message- > From: ffmpeg-devel On Behalf Of Fei > Wang > Sent: Thursday, May 5, 2022 5:07 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Wang, Fei W ; Linjie Fu > Subject: [FFmpeg-devel] [PATCH v7 1/2] lavc/vaapi_encode: add support for > maxframesize > > From: Linjie Fu > > Add

[FFmpeg-devel] [PATCH 2/2] avformat/sctp: close socket on errors

2022-05-22 Thread Michael Niedermayer
This is untested as i have no testcase Fixes: CID1302709 Signed-off-by: Michael Niedermayer --- libavformat/sctp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/sctp.c b/libavformat/sctp.c index b8e23653d2..9d9e90097e 100644 --- a/libavformat/sctp.c +++ b/libavformat/sctp.c

[FFmpeg-devel] [PATCH 1/2] avcodec/flashsv: Check inflate() for failure

2022-05-22 Thread Michael Niedermayer
Fixes: CID1047223 Signed-off-by: Michael Niedermayer --- libavcodec/flashsv.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 0982161d49..d8943d9cf8 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -149,

Re: [FFmpeg-devel] [PATCH] qsv: add requirement for the mininal version of libmfx

2022-05-22 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Haihao > Xiang > Sent: Sunday, May 22, 2022 2:19 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Haihao Xiang > Subject: [FFmpeg-devel] [PATCH] qsv: add requirement for the mininal > version of libmfx > > libmfx 1.28 was released 3 years a

Re: [FFmpeg-devel] [RFC] QSV: Introduce min Compile-SDK Version and check for Runtime-Versions instead

2022-05-22 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Xiang, > Haihao > Sent: Sunday, May 22, 2022 2:25 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [RFC] QSV: Introduce min Compile-SDK Version > and check for Runtime-Versions instead > > > > > -Original Message

Re: [FFmpeg-devel] [PATCH] qsv: add requirement for the mininal version of libmfx

2022-05-22 Thread Jean-Baptiste Kempf
On Sun, 22 May 2022, at 14:19, Haihao Xiang wrote: > libmfx 1.28 was released 3 years ago, it is easy to get a greater > version than 1.28. We may remove lots of compile-time checks if adding > the requirement for the minimal version in the configure script. I think this is reasonable. jb -- Je

Re: [FFmpeg-devel] [RFC] QSV: Introduce min Compile-SDK Version and check for Runtime-Versions instead

2022-05-22 Thread Xiang, Haihao
> > -Original Message- > > From: ffmpeg-devel On Behalf Of Soft > > Works > > Sent: Wednesday, January 12, 2022 4:37 AM > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [RFC] QSV: Introduce min Compile-SDK > > Version and check for R

[FFmpeg-devel] [PATCH] qsv: add requirement for the mininal version of libmfx

2022-05-22 Thread Haihao Xiang
libmfx 1.28 was released 3 years ago, it is easy to get a greater version than 1.28. We may remove lots of compile-time checks if adding the requirement for the minimal version in the configure script. --- configure | 7 +- libavcodec/qsv.c | 24 -- libavcodec/qsvenc.

Re: [FFmpeg-devel] [PATCH v2 0/1] [WIP] avutil/csp changes

2022-05-22 Thread Niklas Haas
Would it make sense to regroup the structs like this? typedef struct AVCIExy { AVRational x, y; } AVCIExy; struct AVPrimaryCoefficients { AVCIExy r, g, b; AVCIExy wp; }; typedef AVCIExy AVWhitepointCoefficients; /* optional */ On Sun, 22 May 2022 01:31:43 -0400 Leo Izen wrote: > Ch