[FFmpeg-devel] [PATCH] Speed up wtv index creation
michael at niedermayer.cc
Sat Jan 30 23:30:00 CET 2016
On Fri, Jan 29, 2016 at 09:36:30PM +0000, popcorn mix wrote:
> The index creation is O(N^2) with number of entries (typically thousands).
> On a Raspberry 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
> This patch has been in all Pi builds of Kodi for the last couple of years,
> so it is quite widely tested. No change in FATE output.
> wtvdec.c | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)
> 0fd9b26a06837ee6d92c221ec48bf88aa5c4d2a0 0001-wtv-Speed-up-wtv-index-creation.patch
> From 4bad5dbd752e96a6dfcb7e46aff1d64996d08ed1 Mon Sep 17 00:00:00 2001
> From: popcornmix <popcornmix at gmail.com>
do you want this patch to be applied with the name popcornmix?
iam asking as it cannot be changed later, in case that is unintended
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel