l-smash icon indicating copy to clipboard operation
l-smash copied to clipboard

Confusion about the implementation of common/multibuf.c lsmash-resize_maultiple_fuffers

Open JakeWang-jw opened this issue 8 months ago • 1 comments

for( uint32_t i = multiple_buffer->number_of_buffers - 1; i ; i-- )
        memmove( temp + buffer_size, temp + i * multiple_buffer->buffer_size, multiple_buffer->buffer_size );

Why move all other buffers to the position of temp+buffer size?

JakeWang-jw avatar Apr 02 '25 01:04 JakeWang-jw