summaryrefslogtreecommitdiff
path: root/libavformat/crc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-01-19 23:36:50 +0000
committerDiego Biurrun <diego@biurrun.de>2006-01-19 23:36:50 +0000
commit8228bff5c6394e5aba24c63ab9d72bf96f8047de (patch)
tree496f04aaa8d4e33794254a7a9bad5514f99c95f0 /libavformat/crc.c
parent1ddf5ba1afcb36d5c59f21419f9a76f0fd71949c (diff)
Put muxer-specific code parts in #ifdef CONFIG_MUXERS.
based on a patch by Luca Abeni < lucabe72 #@# email #.# it > Originally committed as revision 4871 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/crc.c')
-rw-r--r--libavformat/crc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/crc.c b/libavformat/crc.c
index d28a87cdf5..63eaf1bcdb 100644
--- a/libavformat/crc.c
+++ b/libavformat/crc.c
@@ -56,6 +56,7 @@ unsigned long update_adler32(unsigned long adler, const uint8_t *buf, unsigned i
}
return (s2 << 16) | s1;
}
+#ifdef CONFIG_MUXERS
typedef struct CRCState {
uint32_t crcval;
@@ -132,3 +133,4 @@ int crc_init(void)
av_register_output_format(&framecrc_format);
return 0;
}
+#endif /* CONFIG_MUXERS */