ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Tue Feb 6 01:21:08 2018 +0100| [ddd851f7cbcb9181445b81bb3ff526f11f69c295] | committer: Michael Niedermayer
avcodec: Document that init_static_data() is not intended for time consuming operations. Reviewed-by: Muhammad Faiz <mfc...@gmail.com> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ddd851f7cbcb9181445b81bb3ff526f11f69c295 --- libavcodec/avcodec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c41779ad40..1c32339754 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3439,6 +3439,9 @@ typedef struct AVCodec { /** * Initialize codec static data, called from avcodec_register(). + * + * This is not intended for time consuming operations as it is + * run for every codec regardless of that codec being used. */ void (*init_static_data)(struct AVCodec *codec); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog