The reasons are cosmetics and preparation for future patches that will
have even more cases and whose performance improves when switching to
direct pointer arithmetic: Benchmarks have shown that using pointers
directly instead of indexing to access the array to be about 5% faster
(33665 vs. 31806 f
Michael Niedermayer:
> On Sun, Jun 02, 2019 at 12:47:15AM +0200, Andreas Rheinhardt wrote:
>> The reasons are cosmetics and preparation for future patches that will
>> have even more cases.
>>
>> Signed-off-by: Andreas Rheinhardt
>> ---
>> libavcodec/startcode.c | 37 +++--
On Sun, Jun 02, 2019 at 12:47:15AM +0200, Andreas Rheinhardt wrote:
> The reasons are cosmetics and preparation for future patches that will
> have even more cases.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/startcode.c | 37 +++--
> 1 file changed,
The reasons are cosmetics and preparation for future patches that will
have even more cases.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/startcode.c | 37 +++--
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/libavcodec/startcode.c b/libavcode