[Ffmpeg-devel] [PATCH] rtp.h warning

Måns Rullgård mans
Thu Mar 22 22:07:40 CET 2007


Rich Felker <dalias at aerifal.cx> writes:

> On Thu, Mar 22, 2007 at 02:12:05PM -0400, Glenn Maynard wrote:
>> Regarding XXX: is there a reason this isn't simply "const char *enc_name"?
>> It'd save a few K on that table.
>
> Dunno the specifics here, but using const char * instead of const
> char[] in tables is very bad with shared libaries. It greatly
> increases the startup time (relocations) and prevents the tables from
> being in shared memory.

Why is that so?

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list