[FFmpeg-devel] [PATCH]lavf/concatdec: Allocate the filenames on the heap
george at nsup.org
Tue Oct 24 17:40:51 EEST 2017
> 2017-10-21 18:29 GMT+02:00 Nicolas George <george at nsup.org>:
> > Yes, exactly. This limitation was the reason I did not bother handling
> > longer lines. I would like to understand how it makes a difference.
The answer is: the filename field in AVFormatContext is not used to open
the file, only the argument to avformat_open_input().
Le decadi 30 vendémiaire, an CCXXVI, Carl Eugen Hoyos a écrit :
> New patch attached, please comment.
It is the same patch, with the memory leak fixed.
What Marton was saying, and I agree with him, is that 50002 is not less
arbitrary than 4096. It seems quite more so, in fact.
You cannot pretend you fixed the issue if you just raised the limit. I
do not oppose this patch per se, but you cannot close ticket #6761,
because if you do so, anybody will provide a concat file that requires
50003 and reopen.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel