diff libnut.c @ 3871:e6aeb2733e34 libavformat

Replace generic CONFIG_MUXERS preprocessor conditionals by more specific CONFIG_FOO_MUXER conditionals where appropriate.
author diego
date Tue, 02 Sep 2008 22:45:13 +0000
parents 27537074f2a9
children 756f6fe63771
line wrap: on
line diff
--- a/libnut.c	Tue Sep 02 22:31:41 2008 +0000
+++ b/libnut.c	Tue Sep 02 22:45:13 2008 +0000
@@ -44,7 +44,7 @@
     { 0, 0 },
 };
 
-#ifdef CONFIG_MUXERS
+#ifdef CONFIG_LIBNUT_MUXER
 static int av_write(void * h, size_t len, const uint8_t * buf) {
     ByteIOContext * bc = h;
     put_buffer(bc, buf, len);
@@ -163,7 +163,7 @@
     nut_write_trailer,
     .flags = AVFMT_GLOBALHEADER,
 };
-#endif //CONFIG_MUXERS
+#endif /* CONFIG_LIBNUT_MUXER */
 
 static int nut_probe(AVProbeData *p) {
     if (!memcmp(p->buf, ID_STRING, ID_LENGTH)) return AVPROBE_SCORE_MAX;