Browse Source

Move documentation of avcodec_register_all() from allcodecs.c to

avcodec.h.

Originally committed as revision 16135 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini 17 years ago
parent
commit
d0a01fe84b
2 changed files with 10 additions and 10 deletions
  1. +0
    -10
      libavcodec/allcodecs.c
  2. +10
    -0
      libavcodec/avcodec.h

+ 0
- 10
libavcodec/allcodecs.c View File

@@ -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;


+ 10
- 0
libavcodec/avcodec.h View File

@@ -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);

/**


Loading…
Cancel
Save