Re: [FFmpeg-devel] [PATCH] cbs_mpeg2_split_fragment(): cache the buffer end

2022-09-22 Thread Scott Theisen
On 9/22/22 10:59, Anton Khirnov wrote: Quoting Scott Theisen (2022-09-16 19:41:43) Ping; it still applies cleanly. Missing motivation for this change. Is it faster, or why is the new code better? To make it easier to read.  `buf_end` is shorter than `frag->data + frag->data_size`.  Initiali

Re: [FFmpeg-devel] [PATCH] cbs_mpeg2_split_fragment(): cache the buffer end

2022-09-22 Thread Anton Khirnov
Quoting Scott Theisen (2022-09-16 19:41:43) > Ping; it still applies cleanly. Missing motivation for this change. Is it faster, or why is the new code better? -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mai

Re: [FFmpeg-devel] [PATCH] cbs_mpeg2_split_fragment(): cache the buffer end

2022-09-16 Thread Scott Theisen
Ping; it still applies cleanly. -Scott Theisen On 5/15/22 14:50, Scott Theisen wrote: Ping; it still applies cleanly. -Scott Theisen On 2/8/22 15:32, Scott Theisen wrote: Also add a few clarifying comments. ---   libavcodec/cbs_mpeg2.c | 16   1 file changed, 8 insertions(+),

Re: [FFmpeg-devel] [PATCH] cbs_mpeg2_split_fragment(): cache the buffer end

2022-05-15 Thread Scott Theisen
Ping; it still applies cleanly. -Scott Theisen On 2/8/22 15:32, Scott Theisen wrote: Also add a few clarifying comments. --- libavcodec/cbs_mpeg2.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c index 33bd3

[FFmpeg-devel] [PATCH] cbs_mpeg2_split_fragment(): cache the buffer end

2022-02-08 Thread Scott Theisen
Also add a few clarifying comments. --- libavcodec/cbs_mpeg2.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c index 33bd3e0998..47732562d1 100644 --- a/libavcodec/cbs_mpeg2.c +++ b/libavcodec/cbs_mpeg2.c @@ -144,

[FFmpeg-devel] [PATCH] cbs_mpeg2_split_fragment(): cache the buffer end

2022-02-04 Thread Scott Theisen
It is constant, so instead of recalculating it every time, only calculate it once. Also add a few clarifying comments. --- libavcodec/cbs_mpeg2.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/cbs_mpeg2.c b/libavcodec/cbs_mpeg2.c index dfea12ef1b..d3