Commit d09cc22d authored by Anton Khirnov's avatar Anton Khirnov

avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h

parent 4c4427a7
...@@ -675,8 +675,6 @@ int url_open_dyn_packet_buf(AVIOContext **s, int max_packet_size); ...@@ -675,8 +675,6 @@ int url_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
*/ */
int url_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer); int url_close_dyn_buf(AVIOContext *s, uint8_t **pbuffer);
unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf,
unsigned int len);
unsigned long get_checksum(AVIOContext *s); unsigned long get_checksum(AVIOContext *s);
#if FF_API_UDP_GET_FILE #if FF_API_UDP_GET_FILE
......
...@@ -77,5 +77,7 @@ int ff_udp_get_local_port(URLContext *h); ...@@ -77,5 +77,7 @@ int ff_udp_get_local_port(URLContext *h);
void ffio_init_checksum(AVIOContext *s, void ffio_init_checksum(AVIOContext *s,
unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
unsigned long checksum); unsigned long checksum);
unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf,
unsigned int len);
#endif // AVFORMAT_AVIO_INTERNAL_H #endif // AVFORMAT_AVIO_INTERNAL_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment