diff options
author | popcornmix <[email protected]> | 2016-01-29 20:27:00 +0000 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2016-02-01 00:40:47 +0100 |
commit | def56677e58de9aaa516a738b6469747662ac372 (patch) | |
tree | 10fdcf714880b7d08b3808ad7199caf14239997c /libavdevice/opengl_enc_shaders.h | |
parent | 014e4e4499fd5615340d0001f2a0f02382d53718 (diff) |
wtv: Speed up wtv index creation
The index creation is O(N^2) with number of entries (typically thousands).
On a Pi this can take more than 60 seconds to execute for a recording of a few hours.
By replacing with an O(N) loop, this takes virtually zero time
Liked-by: Paul B Mahol <[email protected]>
Reviewed-by: Peter Ross <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavdevice/opengl_enc_shaders.h')
0 files changed, 0 insertions, 0 deletions