[FFmpeg-devel] [PATCH] libavformat/flvdec.c: don't build index_entries for input stream if AVIOContext is not seekable

Michael Niedermayer michaelni at gmx.at
Wed Jun 10 17:46:08 CEST 2015


On Wed, Jun 10, 2015 at 03:10:28PM +0300, Igor Derzhavin wrote:
> Hello.
> I suggest a small patch for FLV demuxer that prevent building index_entries
> list if AVIOContext is not seekable. Whithout this check indext_entries
> list behave as memory leak on continous stream (for example rtmp live
> stream)

>  flvdec.c |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> cc3baa4ef2e564fcd53f277c1ef4e2017cfc9162  flvdec.patch
> From 5ee9ec176f8019e117fcfdd17bcddea8911c7945 Mon Sep 17 00:00:00 2001
> From: Igor Derzhavin <igor.derzhavin at gmail.com>
> Date: Wed, 10 Jun 2015 14:56:02 +0300
> Subject: [PATCH] libavformat/flvdec.c: don't build index_entries for input
>  stream if AVIOContext is not seekable

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- 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/20150610/41960c1c/attachment.asc>


More information about the ffmpeg-devel mailing list