Re: [FFmpeg-devel] [PATCH 3/3] avcodec/libx264: Simplify copying packet data

2021-11-07 Thread James Almer
On 11/7/2021 11:36 AM, Andreas Rheinhardt wrote: x264.h: "the payloads of all output NALs are guaranteed to be sequential in memory." Therefore we can omit the loop. Signed-off-by: Andreas Rheinhardt --- libavcodec/libx264.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) dif

[FFmpeg-devel] [PATCH 3/3] avcodec/libx264: Simplify copying packet data

2021-11-07 Thread Andreas Rheinhardt
x264.h: "the payloads of all output NALs are guaranteed to be sequential in memory." Therefore we can omit the loop. Signed-off-by: Andreas Rheinhardt --- libavcodec/libx264.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c