[FFmpeg-user] ffmpeg 1.0.5 and buffer underflow - Update
h.reindl at thelounge.net
Sat May 4 13:31:17 CEST 2013
Am 04.05.2013 13:23, schrieb Carl Eugen Hoyos:
> Mark Haney <sullafelix <at> ymail.com> writes:
>> ffmpeg version 1.0.5
> This does not look like current git head;-(
>> --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
>> -fexceptions -fstack-protector --param=ssp-buffer-size=4
>> -m64 -mtune=generic'
> There are two possibilities: Either these options are
> useful, then they should be made default for FFmpeg,
> this needs either a patch sent to ffmpeg-devel
> (together with the explanation why the patch is needed)
> or a bug report explaining why a particular option
> should be set.
> Or the options are not useful, then you should remove
> them from compilation
have you ever considered to google them?
"-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4" are
default for ANY package of most linux-distributions since years for
and for a hardening build you enable "-fPIC -fPIE -fstack-protector-all"
too as also "-Wl,-z,now -Wl,-z,relro" as LDFLAGS
yes, they affect performance, but security first
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the ffmpeg-user