Re: [FFmpeg-devel] [PATCH 09/13] avcodec/mpegvideo_enc: Add AV_CODEC_CAP_DR1

2024-09-22 Thread Michael Niedermayer
On Mon, Jul 01, 2024 at 02:16:06PM +0200, Andreas Rheinhardt wrote: > The mpegvideo-based encoders do one uncommon thing with > the packet's data given by ff_alloc_packet(): They potentially > reallocate it. But this only affects the internal buffer > and is not user-facing at all, so one can never

[FFmpeg-devel] [PATCH 09/13] avcodec/mpegvideo_enc: Add AV_CODEC_CAP_DR1

2024-07-01 Thread Andreas Rheinhardt
The mpegvideo-based encoders do one uncommon thing with the packet's data given by ff_alloc_packet(): They potentially reallocate it. But this only affects the internal buffer and is not user-facing at all, so one can nevertheless use the AV_CODEC_CAP_DR1 for them. Signed-off-by: Andreas Rheinhard