[FFmpeg-devel] [PATCH 1/6] lavc/decode: stop mangling last_pkt_props->opaque

Martin Storsjö martin at martin.st
Fri Mar 10 14:39:37 EET 2023


On Fri, 10 Mar 2023, Anton Khirnov wrote:

> It is currently abused to store packet size, which breaks
> AV_CODEC_FLAG_COPY_OPAQUE.
>
> Use stream_index instead, which is unused in libavcodec and has the
> same type as size.
> ---
> libavcodec/decode.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)

LGTM, thanks! (I didn't look at the rest of the patches.)

// Martin



More information about the ffmpeg-devel mailing list