[FFmpeg-devel] [PATCH]lavf/matroskaenc: Do not unecessarily consume memory for cuepoints

Michael Niedermayer michaelni at gmx.at
Thu Jul 9 02:09:00 CEST 2015


On Tue, Jul 07, 2015 at 07:41:11PM +0200, Carl Eugen Hoyos wrote:
> On Tuesday 07 July 2015 06:45:04 pm Michael Niedermayer wrote:
> > On Tue, Jul 07, 2015 at 03:13:06PM +0200, Carl Eugen Hoyos wrote:
> > > Hi!
> > >
> > > Matroska streaming currently consumes memory for
> > > cuepoints that are never used if the output stream
> > > is no seekable. This can lead to oom.
> > > Attached patch fixes ticket #4690.
> > >
> > > Please comment, Carl Eugen
> > >
> > >  matroskaenc.c |   10 +++++++++-
> > >  1 file changed, 9 insertions(+), 1 deletion(-)
> > > 3bf45b1a064962b7e988c3ee5739cc8f2faf023d  patchmkvseekable.diff
> >
> > breaks fate
> 
> New patch attached.
> 
> Thank you, Carl Eugen

>  matroskaenc.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 02d8783a90db91330e08667d1fc927cbc24e4dd9  patchmkvseekable2.diff
> diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
> index 3b525ad..713cb33 100644
> --- a/libavformat/matroskaenc.c
> +++ b/libavformat/matroskaenc.c

should be ok

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150709/a144eda1/attachment.sig>


More information about the ffmpeg-devel mailing list