[FFmpeg-devel] [PATCH] avformat/hls: Reduce memory footprint by using dynamic allocated url/key

Schenk, Michael Michael.Schenk at albistechnologies.com
Tue Apr 8 17:13:05 CEST 2014


Hi!

the same patch as git patch

Regards

Michael

-----Ursprüngliche Nachricht-----
Von: ffmpeg-devel-bounces at ffmpeg.org [mailto:ffmpeg-devel-bounces at ffmpeg.org] Im Auftrag von Schenk, Michael
Gesendet: Dienstag, 8. April 2014 16:43
An: ffmpeg-devel at ffmpeg.org
Betreff: [FFmpeg-devel] [PATCH] avformat/hls: Reduce memory footprint by using dynamic allocated url/key

Hi!

on embedded systems like Set-Top-Boxes with small memory, the current HLS url/key handling with fixed size char arrays for url and key consume a lot of memory especially with large VoD and a large count of variants. The attached patch is using dynamic allocated memory for url and key and can reduce the memory footprint.


Feedback welcome.

Regards

Michael Schenk


-------------- next part --------------
A non-text attachment was scrubbed...
Name: aviformat-hls-dynamic-key-url-v2.patch
Type: application/octet-stream
Size: 2353 bytes
Desc: aviformat-hls-dynamic-key-url-v2.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140408/7d7c646b/attachment.obj>


More information about the ffmpeg-devel mailing list