Mercurial > libavcodec.hg
comparison allcodecs.c @ 8328:2e654989814e libavcodec
Move documentation of avcodec_register_all() from allcodecs.c to
avcodec.h.
author | stefano |
---|---|
date | Sun, 14 Dec 2008 21:38:03 +0000 |
parents | d3d0d9cc0e50 |
children | b0ec9768b39b |
comparison
equal
deleted
inserted
replaced
8327:54ff3a76b736 | 8328:2e654989814e |
---|---|
39 if(ENABLE_##X##_PARSER) av_register_codec_parser(&x##_parser); } | 39 if(ENABLE_##X##_PARSER) av_register_codec_parser(&x##_parser); } |
40 #define REGISTER_BSF(X,x) { \ | 40 #define REGISTER_BSF(X,x) { \ |
41 extern AVBitStreamFilter x##_bsf; \ | 41 extern AVBitStreamFilter x##_bsf; \ |
42 if(ENABLE_##X##_BSF) av_register_bitstream_filter(&x##_bsf); } | 42 if(ENABLE_##X##_BSF) av_register_bitstream_filter(&x##_bsf); } |
43 | 43 |
44 /** | |
45 * Register all the codecs, parsers and bitstream filters which were enabled at | |
46 * configuration time. If you do not call this function you can select exactly | |
47 * which formats you want to support, by using the individual registration | |
48 * functions. | |
49 * | |
50 * @see register_avcodec | |
51 * @see av_register_codec_parser | |
52 * @see av_register_bitstream_filter | |
53 */ | |
54 void avcodec_register_all(void) | 44 void avcodec_register_all(void) |
55 { | 45 { |
56 static int initialized; | 46 static int initialized; |
57 | 47 |
58 if (initialized) | 48 if (initialized) |