[FFmpeg-devel] [PATCH 2/2] avcodec: add avcodec_register_list() to register a list of codec/parser/bsf/hwaccel
michaelni at gmx.at
Wed Oct 1 00:20:30 CEST 2014
On Tue, Sep 30, 2014 at 09:07:43PM +0200, Reimar Döffinger wrote:
> On Tue, Sep 30, 2014 at 07:41:08PM +0200, Michael Niedermayer wrote:
> > + * @param list ',' seperated list of entities to register, the list used must
> > + * have a sufficient lifetime so future calls to avcodec_register_list()
> > + * can access it for comparission.
> I think you can avoid that requirement if you follow my suggestion of
> trashing the descriptions.
> I kind of dislike that that would however kind of "forever" force use to
> keep the descriptions in .data instead of having them in .rodata where
> they should be also for (minor) security considerations.
I think its better we dont trash the AVCodec structs
at least not without a very good reason
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel