From: Stefano Sabatini Date: Sun, 14 Dec 2008 21:38:03 +0000 (+0000) Subject: Move documentation of avcodec_register_all() from allcodecs.c to X-Git-Tag: v0.5~1657 X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/d0a01fe84b03ed07a8706cc64876e5cc5037a468 Move documentation of avcodec_register_all() from allcodecs.c to avcodec.h. Originally committed as revision 16135 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index d5fe8b5..7faf4fa 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -41,16 +41,6 @@ extern AVBitStreamFilter x##_bsf; \ if(ENABLE_##X##_BSF) av_register_bitstream_filter(&x##_bsf); } -/** - * Register all the codecs, parsers and bitstream filters which were enabled at - * configuration time. If you do not call this function you can select exactly - * which formats you want to support, by using the individual registration - * functions. - * - * @see register_avcodec - * @see av_register_codec_parser - * @see av_register_bitstream_filter - */ void avcodec_register_all(void) { static int initialized; diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 249ba5a..4824b1e 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2824,6 +2824,16 @@ int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, int avcodec_close(AVCodecContext *avctx); +/** + * Register all the codecs, parsers and bitstream filters which were enabled at + * configuration time. If you do not call this function you can select exactly + * which formats you want to support, by using the individual registration + * functions. + * + * @see register_avcodec + * @see av_register_codec_parser + * @see av_register_bitstream_filter + */ void avcodec_register_all(void); /**