[FFmpeg-devel] [PATCH]lavf/matroskaenc: Do not allow -reserve_index_space 1

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Feb 11 21:42:28 EET 2018


2018-02-11 20:23 GMT+01:00 Nicolas George <george at nsup.org>:
> Carl Eugen Hoyos (2018-02-11):
>> Attached patch fixes an assertion failure with the following command line:
>> $ ffmpeg -f lavfi -i testsrc -reserve_index_space 1 out.mkv

> Reading the code, it is pretty obvious that 0 is a valid value and
> forbidding it would be bad.

It is still the used default value...

Uglier alternative attached.

Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-matroskaenc-Force-the-minimum-value-for-reserve.patch
Type: text/x-patch
Size: 922 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180211/e8ef0937/attachment.bin>


More information about the ffmpeg-devel mailing list