[FFmpeg-devel] [PATCH] lavf/mov.c: Allocate buffer in case of long metadata entries.

Michael Niedermayer michaelni at gmx.at
Mon Oct 20 19:33:18 CEST 2014


On Mon, Oct 20, 2014 at 01:43:32PM +0200, Thilo Borgmann wrote:
> Am 17.10.14 17:03, schrieb Michael Niedermayer:
> > [...]
> > 
> > i think it would be simpler to always allocate with no str_small
> > local buffer case.
> > Also always allocating 2x the size should avoid the macro
> 
> Done & attached.
> 
> -Thilo
> 

>  mov.c |   18 ++++++++++++------
>  1 file changed, 12 insertions(+), 6 deletions(-)
> 76e7a087fd36eac892308af02cc8d37c287c142f  0001-lavf-mov.c-Allocate-buffer-in-case-of-long-metadata-.patch
> From e374fd065392f7e68fd3d951712a13008dc6fb2f Mon Sep 17 00:00:00 2001
> From: Thilo Borgmann <thilo.borgmann at mail.de>
> Date: Mon, 20 Oct 2014 13:42:28 +0200
> Subject: [PATCH] lavf/mov.c: Allocate buffer in case of long metadata entries.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141020/e45386fb/attachment.asc>


More information about the ffmpeg-devel mailing list