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

Schenk, Michael Michael.Schenk at albistechnologies.com
Tue Apr 8 16:42:58 CEST 2014


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.patch
Type: application/octet-stream
Size: 2185 bytes
Desc: aviformat-hls-dynamic-key-url.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140408/a2d9bd55/attachment.obj>


More information about the ffmpeg-devel mailing list