[FFmpeg-devel] [PATCH 4/4] avcodec/flashsv2enc: factorize updating block dimensions
Anton Khirnov
anton at khirnov.net
Mon Jan 18 13:13:54 EET 2021
Quoting Marton Balint (2021-01-10 02:20:45)
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavcodec/flashsv2enc.c | 76 +++++++++++++++++-----------------------
> 1 file changed, 32 insertions(+), 44 deletions(-)
>
> diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c
> index 6603d0ded1..5139b17a28 100644
> --- a/libavcodec/flashsv2enc.c
> +++ b/libavcodec/flashsv2enc.c
> @@ -252,7 +259,7 @@ static av_cold int flashsv2_encode_init(AVCodecContext * avctx)
> s->use_custom_palette = 0;
> s->palette_type = -1; // so that the palette will be generated in reconfigure_at_keyframe
>
> - return 0;
> + return update_block_dimensions(s, 64, 64);
This looks different from the original value. Why the change?
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list