projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put muxer-specific code parts in #ifdef CONFIG_MUXERS.
[libav.git]
/
libavformat
/
crc.c
diff --git
a/libavformat/crc.c
b/libavformat/crc.c
index
d28a87c
..
63eaf1b
100644
(file)
--- 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 */