[FFmpeg-devel] [PATCH 2/2] avcodec: add avcodec_register_list() to register a list of codec/parser/bsf/hwaccel

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Sep 30 21:07:43 CEST 2014


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.


More information about the ffmpeg-devel mailing list