diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-17 12:56:25 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-03-30 07:47:08 +0200 |
commit | 4c4427a75da1cbb81f3097e0a0fbd6755516bc0d (patch) | |
tree | 029c58e33df34304098af90a94b87f549f281b86 /libavformat/avio.h | |
parent | ce02f9becfc2e89bf552a86303b00d0b36323cdf (diff) | |
download | ffmpeg-4c4427a75da1cbb81f3097e0a0fbd6755516bc0d.tar.gz |
avio: make init_checksum() internal.
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r-- | libavformat/avio.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h index 07a893e312..bce2fc9682 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -451,6 +451,10 @@ attribute_deprecated int url_ferror(AVIOContext *s); attribute_deprecated int udp_set_remote_url(URLContext *h, const char *uri); attribute_deprecated int udp_get_local_port(URLContext *h); + +attribute_deprecated void init_checksum(AVIOContext *s, + unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), + unsigned long checksum); #endif AVIOContext *avio_alloc_context( @@ -674,9 +678,6 @@ 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); -void init_checksum(AVIOContext *s, - unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), - unsigned long checksum); #if FF_API_UDP_GET_FILE int udp_get_file_handle(URLContext *h); |