comparison avio.h @ 2683:153d6efc05b8 libavformat

rename av_crc04C11DB7_update to ff_crc04C11DB7_update and move it to aviobuf.c so it can be reused by other (de)muxers
author bcoudurier
date Tue, 30 Oct 2007 00:01:25 +0000
parents 792383dd085e
children 49c540731133
comparison
equal deleted inserted replaced
2682:66bd9e2fbcf1 2683:153d6efc05b8
256 * @param pointer to a byte buffer 256 * @param pointer to a byte buffer
257 * @return the length of the byte buffer 257 * @return the length of the byte buffer
258 */ 258 */
259 int url_close_dyn_buf(ByteIOContext *s, uint8_t **pbuffer); 259 int url_close_dyn_buf(ByteIOContext *s, uint8_t **pbuffer);
260 260
261 unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len);
261 unsigned long get_checksum(ByteIOContext *s); 262 unsigned long get_checksum(ByteIOContext *s);
262 void init_checksum(ByteIOContext *s, unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum); 263 void init_checksum(ByteIOContext *s, unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum);
263 264
264 /* udp.c */ 265 /* udp.c */
265 int udp_set_remote_url(URLContext *h, const char *uri); 266 int udp_set_remote_url(URLContext *h, const char *uri);