Mercurial > libavformat.hg
diff nut.c @ 858:66cc656ea404 libavformat
Replace CONFIG_ENCODERS/CONFIG_DECODERS with CONFIG_MUXERS/CONFIG_DEMUXERS
in libavformat to allow building (de)coders and (de)muxers independently at
some point + support for this option in configure.
| author | diego |
|---|---|
| date | Fri, 23 Sep 2005 00:25:41 +0000 |
| parents | c9d9796a3d00 |
| children | 91dcb9da9be6 |
line wrap: on
line diff
--- a/nut.c Wed Sep 21 23:09:16 2005 +0000 +++ b/nut.c Fri Sep 23 00:25:41 2005 +0000 @@ -394,7 +394,7 @@ } } -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static void put_v(ByteIOContext *bc, uint64_t val) { @@ -843,7 +843,7 @@ return 0; } -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS static int nut_probe(AVProbeData *p) { @@ -1430,7 +1430,7 @@ .extensions = "nut", }; -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS static AVOutputFormat nut_oformat = { "nut", "nut format", @@ -1450,13 +1450,13 @@ nut_write_trailer, .flags = AVFMT_GLOBALHEADER, }; -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS int nut_init(void) { av_register_input_format(&nut_iformat); -#ifdef CONFIG_ENCODERS +#ifdef CONFIG_MUXERS av_register_output_format(&nut_oformat); -#endif //CONFIG_ENCODERS +#endif //CONFIG_MUXERS return 0; }
