Re: [FFmpeg-devel] [PATCH v5] avcodec/mpeg12enc: support mpeg2 encoder const profile

2020-05-30 Thread lance . lmwang
On Fri, May 29, 2020 at 09:07:52PM +0200, Marton Balint wrote: > > > On Fri, 29 May 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/mpeg12enc.c | 2 ++ > > libavcodec/profiles.h | 6 ++ > > 2 files changed, 8 insertions(+)

[FFmpeg-devel] [PATCH v2] avutil/dict: av_realloc -> av_realloc_array()

2020-05-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/dict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/dict.c b/libavutil/dict.c index 0ea7138..9d3d96c 100644 --- a/libavutil/dict.c +++ b/libavutil/dict.c @@ -103,8 +103,8 @@ int av_dict_set(AVDictionar

Re: [FFmpeg-devel] [PATCH 1/3] avutil/dict: av_realloc -> av_realloc_array()

2020-05-30 Thread lance . lmwang
On Sat, May 30, 2020 at 04:03:33PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-05-30): > > I think it's cosmetic changes, so I didn't change the alignment for the > > first version. > > If it's OK, I'll update with format changes also. > > Please, try to see the moon, not the fin

Re: [FFmpeg-devel] [PATCH v6] avcodec/mpeg12enc: support mpeg2 encoder const profile

2020-05-31 Thread lance . lmwang
On Mon, Jun 01, 2020 at 09:24:13AM +0800, myp...@gmail.com wrote: > On Sat, May 30, 2020 at 9:29 PM wrote: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/encoders.texi | 14 ++ > > libavcodec/mpeg12enc.c | 2 ++ > > libavcodec/profiles.h | 8 +

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/rtspdec: av_dict_set() -> av_dict_set_int()

2020-06-01 Thread lance . lmwang
On Wed, May 27, 2020 at 07:10:45PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/rtspdec.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c > index bd2e8f4..dfa2

Re: [FFmpeg-devel] [PATCH 1/3] avutil/dict: av_realloc -> av_realloc_array()

2020-06-01 Thread lance . lmwang
On Sat, May 30, 2020 at 11:14:03AM -0300, James Almer wrote: > On 5/30/2020 10:55 AM, lance.lmw...@gmail.com wrote: > > On Sat, May 30, 2020 at 03:32:18PM +0200, Nicolas George wrote: > >> lance.lmw...@gmail.com (12020-05-30): > >>> From: Limin Wang > >>> > >>> Signed-off-by: Limin Wang > >>> ---

[FFmpeg-devel] [PATCH] avcodec/ratecontrol: fix the integer overflow after long time run

2020-06-01 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ratecontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 49d169b..6b77ccd 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -999

[FFmpeg-devel] [PATCH v3 02/24] avcodec/h264dec: store count of the tables into const variable for long lines

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 4d8c0b1..66f45e6 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -182,6 +182,7 @@ int

[FFmpeg-devel] [PATCH v3 02/22] avcodec/adpcmenc: remove FF_ALLOC_OR_GOTO macros for gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/adpcmenc.c | 38 -- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c index d5fbc0b..1fe1aef 100644 --- a/libavcodec/adpcmenc.c +++ b/libavco

[FFmpeg-devel] [PATCH v3 03/22] avcodec/apedec: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/apedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 65c07d0..0bee9d8 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -301,7 +301,6 @@ static av_cold i

[FFmpeg-devel] [PATCH v3 05/22] avcodec/aacenc: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/aacenc.c| 3 +-- libavcodec/iirfilter.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index db11e0c..189f5e0 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c

[FFmpeg-devel] [PATCH v3 03/24] avcodec/h264dec: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 60 +++- libavutil/internal.h | 3 +++ 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 66f45e6..dc3d6ad 10064

[FFmpeg-devel] [PATCH v3 04/22] avcodec/ac3enc: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc.c | 1 - libavcodec/ac3enc_fixed.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index ddbc7b2..4fb2dd9 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc

[FFmpeg-devel] [PATCH v3 05/24] avcodec/apedec: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/apedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 65c07d0..0bee9d8 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -301,7 +301,6 @@ static av_cold i

[FFmpeg-devel] [PATCH v3 04/24] avcodec/adpcmenc: remove FF_ALLOC_OR_GOTO macros for gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/adpcmenc.c | 38 -- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c index d5fbc0b..1fe1aef 100644 --- a/libavcodec/adpcmenc.c +++ b/libavco

[FFmpeg-devel] [PATCH v3 06/24] avcodec/ac3enc: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc.c | 1 - libavcodec/ac3enc_fixed.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index ddbc7b2..4fb2dd9 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc

[FFmpeg-devel] [PATCH v3 06/22] avcodec/alac: Add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/alac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 82689da..3b41373 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -511,7 +511,6 @@ static int allocate_buffer

[FFmpeg-devel] [PATCH v3 07/22] avcodec: add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h261dec.c | 1 + libavcodec/h263dec.c | 4 ++-- libavcodec/mpeg12dec.c | 9 - libavcodec/mpeg4videodec.c | 3 ++- libavcodec/mpegpicture.c | 1 - libavcodec/mpegvideo.c | 2 -- libavcodec/msmpeg4dec.c| 8

[FFmpeg-devel] [PATCH v3 08/22] avcodec/apedec: remove FF_ALLOC_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/apedec.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 0bee9d8..a817673 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -262,9 +262,8 @@ static av

[FFmpeg-devel] [PATCH v3 08/24] avcodec/alac: Add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/alac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 82689da..3b41373 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -511,7 +511,6 @@ static int allocate_buffer

[FFmpeg-devel] [PATCH v3 07/24] avcodec/aacenc: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/aacenc.c| 3 +-- libavcodec/iirfilter.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index db11e0c..189f5e0 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c

[FFmpeg-devel] [PATCH v3 09/24] avcodec: add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h261dec.c | 1 + libavcodec/h263dec.c | 4 ++-- libavcodec/mpeg12dec.c | 9 - libavcodec/mpeg4videodec.c | 3 ++- libavcodec/mpegpicture.c | 1 - libavcodec/mpegvideo.c | 2 -- libavcodec/msmpeg4dec.c| 8

[FFmpeg-devel] [PATCH v3 09/22] avcodec/twinvq: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/twinvq.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 34ca184..6dfaf06 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -538,

[FFmpeg-devel] [PATCH v3 10/24] avcodec/apedec: remove FF_ALLOC_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/apedec.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 0bee9d8..a817673 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -262,9 +262,8 @@ static av

[FFmpeg-devel] [PATCH v3 11/22] avcodec/snow: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/snow.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index a3e6afc..066efc5 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -487,28 +487,2

[FFmpeg-devel] [PATCH v3 10/22] avcodec/dnxhdenc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dnxhdenc.c | 65 +-- 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index fad8400..bcf4f39 100644 --- a/libavcodec/dnxhdenc.c

[FFmpeg-devel] [PATCH v3 12/24] avcodec/dnxhdenc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dnxhdenc.c | 65 +-- 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index fad8400..bcf4f39 100644 --- a/libavcodec/dnxhdenc.c

[FFmpeg-devel] [PATCH v3 11/24] avcodec/twinvq: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/twinvq.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 34ca184..6dfaf06 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -538,

[FFmpeg-devel] [PATCH v3 13/22] avcodec/ac3enc_template: remove FF_ALLOC_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc_template.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c index be65987..985b35e 100644 --- a/libavcodec/ac3enc_template.c +++ b/l

[FFmpeg-devel] [PATCH v3 13/24] avcodec/snow: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/snow.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index a3e6afc..066efc5 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -487,28 +487,2

[FFmpeg-devel] [PATCH v3 12/22] avcodec/ac3enc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc.c | 94 ++--- 1 file changed, 38 insertions(+), 56 deletions(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 4fb2dd9..37dc0fb 100644 --- a/libavcodec/ac3enc.c +++ b/

[FFmpeg-devel] [PATCH v3 14/22] avcodec/aacenc: remove FF_ALLOCZ_ARRAY_OR_GOTO and failed gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/aacenc.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 189f5e0..e65b76c 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -941,15 +941,1

[FFmpeg-devel] [PATCH v3 15/24] avcodec/ac3enc_template: remove FF_ALLOC_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc_template.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c index be65987..985b35e 100644 --- a/libavcodec/ac3enc_template.c +++ b/l

[FFmpeg-devel] [PATCH v3 15/22] avcodec/iirfilter: remove FF_ALLOCZ_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/iirfilter.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c index 749fa57..ddd42c2 100644 --- a/libavcodec/iirfilter.c +++ b/libavcodec/iirfilter.c @@ -17

[FFmpeg-devel] [PATCH v3 17/24] avcodec/iirfilter: remove FF_ALLOCZ_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/iirfilter.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c index 749fa57..ddd42c2 100644 --- a/libavcodec/iirfilter.c +++ b/libavcodec/iirfilter.c @@ -17

[FFmpeg-devel] [PATCH v3 17/22] avcodec/mpegvideo: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo.c | 132 ++--- 1 file changed, 60 insertions(+), 72 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 58fc850..76fb381 100644 --- a/libavcodec/mpegvideo

[FFmpeg-devel] [PATCH v3 14/24] avcodec/ac3enc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc.c | 94 ++--- 1 file changed, 38 insertions(+), 56 deletions(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 4fb2dd9..37dc0fb 100644 --- a/libavcodec/ac3enc.c +++ b/

[FFmpeg-devel] [PATCH v3 16/22] avcodec/mpegvideo: simplify check for av_frame_alloc

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 34dfda5..58fc850 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -

[FFmpeg-devel] [PATCH v3 18/22] avcodec/mpegpicture: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegpicture.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index be90ece..83426bb 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c

[FFmpeg-devel] [PATCH v3 16/24] avcodec/aacenc: remove FF_ALLOCZ_ARRAY_OR_GOTO and failed gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/aacenc.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 189f5e0..e65b76c 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -941,15 +941,1

[FFmpeg-devel] [PATCH v3 18/24] avcodec/mpegvideo: simplify check for av_frame_alloc

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 34dfda5..58fc850 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -

[FFmpeg-devel] [PATCH v3 19/22] avcodec/mpegvideo_enc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo_enc.c | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 5a499fb..eba041f 100644 --- a/libavcodec/mpegvideo_enc

[FFmpeg-devel] [PATCH v3 01/22] avcodec/h264dec: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 60 +++- libavutil/internal.h | 3 +++ 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 66f45e6..dc3d6ad 10064

Re: [FFmpeg-devel] [PATCH v3 01/24] avcodec/h264dec: cosmetics

2020-06-02 Thread lance . lmwang
On Tue, Jun 02, 2020 at 11:16:29PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/h264dec.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c > index 6270ea8..4d8c0b1

[FFmpeg-devel] [PATCH v3 01/24] avcodec/h264dec: cosmetics

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 6270ea8..4d8c0b1 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -253,8 +253,7 @@ int ff_h2

[FFmpeg-devel] [PATCH v4 02/24] avcodec/h264dec: store count of the tables into const variable for long lines

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 4d8c0b1..66f45e6 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -182,6 +182,7 @@ int

[FFmpeg-devel] [PATCH v4 01/24] avcodec/h264dec: cosmetics

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 6270ea8..4d8c0b1 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -253,8 +253,7 @@ int ff_h2

[FFmpeg-devel] [PATCH v4 04/24] avcodec/adpcmenc: remove FF_ALLOC_OR_GOTO macros for gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/adpcmenc.c | 38 -- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c index d5fbc0b..1fe1aef 100644 --- a/libavcodec/adpcmenc.c +++ b/libavco

[FFmpeg-devel] [PATCH v4 07/24] avcodec/aacenc: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/aacenc.c| 3 +-- libavcodec/iirfilter.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index db11e0c..189f5e0 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c

[FFmpeg-devel] [PATCH v4 05/24] avcodec/apedec: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/apedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 65c07d0..0bee9d8 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -301,7 +301,6 @@ static av_cold i

[FFmpeg-devel] [PATCH v4 06/24] avcodec/ac3enc: add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc.c | 1 - libavcodec/ac3enc_fixed.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index ddbc7b2..4fb2dd9 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc

[FFmpeg-devel] [PATCH v4 03/24] avcodec/h264dec: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 60 +++- libavutil/internal.h | 3 +++ 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 66f45e6..dc3d6ad 10064

[FFmpeg-devel] [PATCH v4 09/24] avcodec: add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h261dec.c | 1 + libavcodec/h263dec.c | 4 ++-- libavcodec/mpeg12dec.c | 9 - libavcodec/mpeg4videodec.c | 3 ++- libavcodec/mpegpicture.c | 1 - libavcodec/mpegvideo.c | 2 -- libavcodec/msmpeg4dec.c| 8

[FFmpeg-devel] [PATCH v4 11/24] avcodec/twinvq: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/twinvq.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 34ca184..6dfaf06 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -538,

[FFmpeg-devel] [PATCH v4 08/24] avcodec/alac: Add FF_CODEC_CAP_INIT_CLEANUP

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/alac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 82689da..3b41373 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -511,7 +511,6 @@ static int allocate_buffer

[FFmpeg-devel] [PATCH v4 10/24] avcodec/apedec: remove FF_ALLOC_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/apedec.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 0bee9d8..a817673 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -262,9 +262,8 @@ static av

[FFmpeg-devel] [PATCH v4 12/24] avcodec/dnxhdenc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dnxhdenc.c | 65 +-- 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index fad8400..bcf4f39 100644 --- a/libavcodec/dnxhdenc.c

[FFmpeg-devel] [PATCH v4 14/24] avcodec/ac3enc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc.c | 94 ++--- 1 file changed, 38 insertions(+), 56 deletions(-) diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 4fb2dd9..37dc0fb 100644 --- a/libavcodec/ac3enc.c +++ b/

[FFmpeg-devel] [PATCH v4 16/24] avcodec/aacenc: remove FF_ALLOCZ_ARRAY_OR_GOTO and failed gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/aacenc.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 189f5e0..e65b76c 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -941,15 +941,1

[FFmpeg-devel] [PATCH v4 13/24] avcodec/snow: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/snow.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index a3e6afc..066efc5 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -487,28 +487,2

[FFmpeg-devel] [PATCH v4 15/24] avcodec/ac3enc_template: remove FF_ALLOC_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/ac3enc_template.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c index be65987..985b35e 100644 --- a/libavcodec/ac3enc_template.c +++ b/l

[FFmpeg-devel] [PATCH v4 17/24] avcodec/iirfilter: remove FF_ALLOCZ_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/iirfilter.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c index 749fa57..ddd42c2 100644 --- a/libavcodec/iirfilter.c +++ b/libavcodec/iirfilter.c @@ -17

[FFmpeg-devel] [PATCH v4 21/24] avcodec/mpegvideo_enc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos lable

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo_enc.c | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index 5a499fb..eba041f 100644 --- a/libavcodec/mpegvideo_enc

[FFmpeg-devel] [PATCH v4 18/24] avcodec/mpegvideo: simplify check for av_frame_alloc

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 34dfda5..58fc850 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -

[FFmpeg-devel] [PATCH v4 20/24] avcodec/mpegpicture: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegpicture.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index be90ece..83426bb 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c

[FFmpeg-devel] [PATCH v4 22/24] avcodec/alac: remove FF_ALLOC_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/alac.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 3b41373..bf05406 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -489,6 +489,7 @@ static int

[FFmpeg-devel] [PATCH v4 19/24] avcodec/mpegvideo: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo.c | 132 ++--- 1 file changed, 60 insertions(+), 72 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 58fc850..76fb381 100644 --- a/libavcodec/mpegvideo

[FFmpeg-devel] [PATCH v4 23/24] swscale/utils: remove FF_ALLOC_ARRAY_OR_GOTO macros

2020-06-02 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libswscale/utils.c | 55 +++--- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/libswscale/utils.c b/libswscale/utils.c index 111062e..961750e 100644 --- a/libswscale/utils.c +++ b/lib

[FFmpeg-devel] [PATCH v4 24/24] avutil/internal: remove FF_ALLOCx{_ARRAY}_OR_GOTO macros

2020-06-02 Thread lance . lmwang
From: Limin Wang Nicolas George comments for the macros: These functions have a terrible design, let us fix them before extending them. First design mistake: no error code. A helper function for testing memory allocation failure where AVERROR(ENOMEM) does not appear is absurd. Second design mist

Re: [FFmpeg-devel] [PATCH] avcodec/ratecontrol: fix the integer overflow after long time run

2020-06-02 Thread lance . lmwang
On Tue, Jun 02, 2020 at 11:39:03PM +0200, Michael Niedermayer wrote: > On Mon, Jun 01, 2020 at 09:53:49PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/ratecontrol.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-

Re: [FFmpeg-devel] [PATCH v4 09/24] avcodec: add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()

2020-06-03 Thread lance . lmwang
On Wed, Jun 03, 2020 at 12:43:34PM +0200, Michael Niedermayer wrote: > On Tue, Jun 02, 2020 at 11:26:43PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/h261dec.c | 1 + > > libavcodec/h263dec.c | 4 ++-- > > libavc

[FFmpeg-devel] [PATCH v5 09/24] avcodec: add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()

2020-06-03 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h261dec.c | 1 + libavcodec/h263dec.c | 4 ++-- libavcodec/mpeg12dec.c | 9 - libavcodec/mpeg4videodec.c | 3 ++- libavcodec/mpegpicture.c | 1 - libavcodec/mpegvideo.c | 5 +++-- libavcodec/msmpeg4dec.c

Re: [FFmpeg-devel] [PATCH v4 09/24] avcodec: add FF_CODEC_CAP_INIT_CLEANUP for all codecs which use ff_mpv_common_init()

2020-06-03 Thread lance . lmwang
On Wed, Jun 03, 2020 at 12:43:34PM +0200, Michael Niedermayer wrote: > On Tue, Jun 02, 2020 at 11:26:43PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/h261dec.c | 1 + > > libavcodec/h263dec.c | 4 ++-- > > libavc

Re: [FFmpeg-devel] [PATCH v3 17/22] avcodec/mpegvideo: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-03 Thread lance . lmwang
On Wed, Jun 03, 2020 at 09:45:51PM +0200, Marton Balint wrote: > > On Tue, 2 Jun 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/mpegvideo.c | 132 > > ++--- > > 1 file changed, 60 i

Re: [FFmpeg-devel] [PATCH] avcodec: remove FLAG2_FAST mode

2020-06-03 Thread lance . lmwang
On Thu, Jun 04, 2020 at 01:05:12AM +0200, Michael Niedermayer wrote: > On Wed, Jun 03, 2020 at 06:23:27PM +0100, Kieran Kunhya wrote: > > $subj > > > fftools/ffplay.c |5 > > libavcodec/avcodec.h |4 > > libavcodec/h264_slice.c|6 > > libavcodec/mpeg12dec.c

[FFmpeg-devel] [PATCH v5 19/24] avcodec/mpegvideo: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-03 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/mpegvideo.c | 132 ++--- 1 file changed, 60 insertions(+), 72 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index d3327e4..52a0ec3 100644 --- a/libavcodec/mpegvideo

[FFmpeg-devel] [PATCH v5 03/24] avcodec/h264dec: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos lable

2020-06-03 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 60 +++- libavutil/internal.h | 3 +++ 2 files changed, 20 insertions(+), 43 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 66f45e6..1e2ca68 10064

[FFmpeg-devel] [PATCH v5 12/24] avcodec/dnxhdenc: remove FF_ALLOCZ_ARRAY_OR_GOTO and gotos label

2020-06-03 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dnxhdenc.c | 65 +-- 1 file changed, 22 insertions(+), 43 deletions(-) diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c index 5d5f1ff..91eeb47 100644 --- a/libavcodec/dnxhdenc.c

[FFmpeg-devel] [PATCH v4 3/3] fate: add yuv420p10 and yuv422p10 tests for overlay filter

2020-06-05 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 8 tests/filtergraphs/overlay_yuv420p10| 5 + tests/filtergraphs/overlay_yuv422p10| 5 + tests/ref/fate/filter-overlay_yuv420p10 | 8 tests/ref/fate/filter-overlay_yuv422p1

[FFmpeg-devel] [PATCH v4 2/3] avfilter/vf_overlay: add yuv420p10 and yuv422p10 10bit format support

2020-06-05 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 6 libavfilter/vf_overlay.c | 79 libavfilter/vf_overlay.h | 2 ++ 3 files changed, 87 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index f76604c.

[FFmpeg-devel] [PATCH v4 1/3] avfilter/vf_overlay: support for 8bit and 10bit overlay with macro-based function

2020-06-05 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- It's old patch, so rebase and merge into one patch for review, in addition, I have added format for yuv422p10, and fate test case. libavfilter/vf_overlay.c | 417 +-- 1 file changed, 220 insertions(+),

Re: [FFmpeg-devel] [PATCH v7 1/3] avfilter/graphdump: support for the graph2dot function

2020-06-05 Thread lance . lmwang
On Thu, May 28, 2020 at 04:14:27PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-05-28): > > will apply the patchset tomorrow if no further comments. > > Please give me time to look carefully. This is not urgent. Nicolas, do you have got free time to review the patch set and give

Re: [FFmpeg-devel] [PATCH v2] avutil/dict: av_realloc -> av_realloc_array()

2020-06-05 Thread lance . lmwang
On Sat, May 30, 2020 at 10:10:32PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavutil/dict.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavutil/dict.c b/libavutil/dict.c > index 0ea7138..9d3d96c 100644 > -

Re: [FFmpeg-devel] [PATCH v7 2/3] avdevice/lavfi: support the dumpgraph with options

2020-06-05 Thread lance . lmwang
On Fri, Jun 05, 2020 at 07:10:08PM +0200, Marton Balint wrote: > > > On Fri, 5 Jun 2020, Nicolas George wrote: > > > lance.lmw...@gmail.com (12020-05-25): > > > From: Limin Wang > > > > > > Signed-off-by: Limin Wang > > > --- > > > doc/indevs.texi | 19 +-- > > > libavdev

Re: [FFmpeg-devel] [PATCH v7 1/3] avfilter/graphdump: support for the graph2dot function

2020-06-05 Thread lance . lmwang
On Fri, Jun 05, 2020 at 05:06:53PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-05-25): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/Makefile| 1 - > > libavfilter/graphdump.c | 89 + > > tools/graph2dot.c | 204

[FFmpeg-devel] [PATCH] avfilter/f_metadata: use AVBPrint API to remove buf size limitation

2020-06-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_metadata.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c index 598257b15b..808782d31a 100644 --- a/libavfilter/f_metadata.c +++ b/libavfilter/f_metadat

Re: [FFmpeg-devel] [PATCH v7 2/3] avdevice/lavfi: support the dumpgraph with options

2020-06-08 Thread lance . lmwang
On Fri, Jun 05, 2020 at 07:10:08PM +0200, Marton Balint wrote: > > > On Fri, 5 Jun 2020, Nicolas George wrote: > > > lance.lmw...@gmail.com (12020-05-25): > > > From: Limin Wang > > > > > > Signed-off-by: Limin Wang > > > --- > > > doc/indevs.texi | 19 +-- > > > libavdev

[FFmpeg-devel] [PATCH v2] avfilter/f_metadata: use AVBPrint API to remove buf size limitation

2020-06-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/f_metadata.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c index 598257b..79515b7 100644 --- a/libavfilter/f_metadata.c +++ b/libavfilter/f_met

[FFmpeg-devel] [PATCH] avcodec/libx265: Fix integer overflow in computation of max and avg bitrate

2020-06-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/libx265.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index f560d7f62f..686c205b6b 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -310,8 +310,8 @@ s

[FFmpeg-devel] [PATCH] avcodec/libx265: Fix integer overflow in computation of max and avg bitrate

2020-06-08 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/libx265.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index f560d7f62f..686c205b6b 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -310,8 +310,8 @@ s

Re: [FFmpeg-devel] [PATCH] avfilter/f_metadata: use AVBPrint API to remove buf size limitation

2020-06-08 Thread lance . lmwang
On Mon, Jun 08, 2020 at 04:02:22PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-06-08): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/f_metadata.c | 9 ++--- > > 1 file changed, 6 insertions(+), 3 deletions(-) > > > > diff --git a/libavfilte

Re: [FFmpeg-devel] [PATCH v2] avfilter/f_metadata: use AVBPrint API to remove buf size limitation

2020-06-08 Thread lance . lmwang
On Mon, Jun 08, 2020 at 05:32:57PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-06-08): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/f_metadata.c | 17 - > > 1 file changed, 12 insertions(+), 5 deletions(-) > > > > diff --git a/

Re: [FFmpeg-devel] [PATCH] added sei side data

2020-06-08 Thread lance . lmwang
On Mon, Jun 01, 2020 at 02:23:23PM -0700, Daniel Loman wrote: > Added seperate side data field to allow adding per packet side data > message to support MISB 604 encoding > --- > libavcodec/avpacket.c | 1 + > libavcodec/h264_metadata_bsf.c | 116 +++-- > lib

Re: [FFmpeg-devel] release/4.3

2020-06-08 Thread lance . lmwang
On Mon, Jun 08, 2020 at 11:38:15PM +, Daniel Loman wrote: > Let me know if there is anything I can do to help get this included in 4.3 :) Before included in 4.3, I think first it's had to be reviewed and accepted into master. I give my review comment for the patch. > ___

Re: [FFmpeg-devel] [PATCH v9 4/4] avcodec/h264: create user data unregistered SEI side data for H.264

2020-06-09 Thread lance . lmwang
On Wed, Mar 18, 2020 at 11:12:03AM -0300, James Almer wrote: > On 3/18/2020 10:29 AM, Anton Khirnov wrote: > > Quoting James Almer (2020-03-17 17:36:01) > >> On 3/17/2020 1:05 PM, Kieran Kunhya wrote: > >>> On Tue, 17 Mar 2020 at 11:25, wrote: > >>> > From: Limin Wang > > Signed-of

[FFmpeg-devel] [PATCH v10 2/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-06-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_sei.c | 31 +++ libavcodec/hevc_sei.h | 6 ++ libavcodec/hevcdec.c| 14 ++ tests/ref/fate/hevc-monochrome-crop | 3 +++ 4 files changed, 54 in

[FFmpeg-devel] [PATCH v10 3/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-06-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 37 + 1 file changed, 37 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 5d4aee4..9eaf8ff 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilt

[FFmpeg-devel] [PATCH v10 4/4] avcodec/h264: create user data unregistered SEI side data for H.264

2020-06-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264_sei.c | 30 +-- libavcodec/h264_sei.h | 2 + libavcodec/h264_slice.c | 14 tests/ref/fate/mov-zombie | 195 ++ 4 files changed, 171 insertions(+), 70 deletions(-) d

[FFmpeg-devel] [PATCH v10 1/4] avutil: add AV_FRAME_DATA_SEI_UNREGISTERED side data type

2020-06-09 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- rebase with master only, I'll apply the patchset in two days if no objection. doc/APIchanges | 3 +++ libavutil/frame.c | 1 + libavutil/frame.h | 8 libavutil/version.h | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) d

Re: [FFmpeg-devel] [PATCH v10 3/4] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-06-10 Thread lance . lmwang
On Wed, Jun 10, 2020 at 10:49:33AM +0200, Marton Balint wrote: > > > On Wed, 10 Jun 2020, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_showinfo.c | 37 + > > Commit subject is wrong. will

<    2   3   4   5   6   7   8   9   10   11   >