From d0a01fe84b03ed07a8706cc64876e5cc5037a468 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 14 Dec 2008 21:38:03 +0000 Subject: [PATCH] Move documentation of avcodec_register_all() from allcodecs.c to avcodec.h. Originally committed as revision 16135 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/allcodecs.c | 10 ---------- libavcodec/avcodec.h | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index d5fe8b5d06..7faf4fa830 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 249ba5ad88..4824b1e799 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); /**