Mercurial > libavutil.hg
comparison crc.h @ 392:d0f3bb6e367e libavutil
Add FFMPEG_ prefix to all multiple inclusion guards.
author | diego |
---|---|
date | Wed, 17 Oct 2007 09:37:46 +0000 |
parents | b1953daf424e |
children | 40ef1f81f445 |
comparison
equal
deleted
inserted
replaced
391:997894c973e2 | 392:d0f3bb6e367e |
---|---|
16 * You should have received a copy of the GNU Lesser General Public | 16 * You should have received a copy of the GNU Lesser General Public |
17 * License along with FFmpeg; if not, write to the Free Software | 17 * License along with FFmpeg; if not, write to the Free Software |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 #ifndef CRC_H | 21 #ifndef FFMPEG_CRC_H |
22 #define CRC_H | 22 #define FFMPEG_CRC_H |
23 | 23 |
24 #include <stdint.h> | 24 #include <stdint.h> |
25 #include <sys/types.h> | 25 #include <sys/types.h> |
26 | 26 |
27 typedef uint32_t AVCRC; | 27 typedef uint32_t AVCRC; |
46 #endif | 46 #endif |
47 | 47 |
48 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size); | 48 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size); |
49 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length); | 49 uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length); |
50 | 50 |
51 #endif /* CRC_H */ | 51 #endif /* FFMPEG_CRC_H */ |
52 | 52 |