Re: [FFmpeg-devel] [PATCH] avcodec/jpeglsenc: Remove redundant pixel format checks

2021-04-12 Thread Andreas Rheinhardt
James Almer: > On 4/12/2021 2:07 PM, Andreas Rheinhardt wrote: >> This encoder has AVCodec.pix_fmts set, so ff_encode_preinit() already >> checks for this. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> Will apply tomorrow unless there are objections. >> >>   libavcodec/jpeglsenc.c | 8

Re: [FFmpeg-devel] [PATCH] avcodec/jpeglsenc: Remove redundant pixel format checks

2021-04-12 Thread James Almer
On 4/12/2021 2:07 PM, Andreas Rheinhardt wrote: This encoder has AVCodec.pix_fmts set, so ff_encode_preinit() already checks for this. Signed-off-by: Andreas Rheinhardt --- Will apply tomorrow unless there are objections. libavcodec/jpeglsenc.c | 8 1 file changed, 8 deletions(-)

[FFmpeg-devel] [PATCH] avcodec/jpeglsenc: Remove redundant pixel format checks

2021-04-12 Thread Andreas Rheinhardt
This encoder has AVCodec.pix_fmts set, so ff_encode_preinit() already checks for this. Signed-off-by: Andreas Rheinhardt --- Will apply tomorrow unless there are objections. libavcodec/jpeglsenc.c | 8 1 file changed, 8 deletions(-) diff --git a/libavcodec/jpeglsenc.c b/libavcodec/jpe