[7/9] avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h

Message ID 1300367015-21591-8-git-send-email-anton@khirnov.net
State Committed
Headers show

Commit Message

Anton Khirnov March 17, 2011, 1:03 p.m.
---
 libavformat/avio.h          |    2 --
 libavformat/avio_internal.h |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Ronald Bultje March 30, 2011, 5:28 a.m. | #1
Hi,

On Thu, Mar 17, 2011 at 6:03 AM, Anton Khirnov <anton@khirnov.net> wrote:
> ---
>  libavformat/avio.h          |    2 --
>  libavformat/avio_internal.h |    2 ++
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/avio.h b/libavformat/avio.h
> index 0d75d30..0e4e93e 100644
> --- a/libavformat/avio.h
> +++ b/libavformat/avio.h
> @@ -693,8 +693,6 @@ int avio_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
>  */
>  int avio_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);
>
>  #if FF_API_UDP_GET_FILE
> diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
> index f65798e..d2441a2 100644
> --- a/libavformat/avio_internal.h
> +++ b/libavformat/avio_internal.h
> @@ -77,5 +77,7 @@ int ff_udp_get_local_port(URLContext *h);
>  void ffio_init_checksum(AVIOContext *s,
>                         unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
>                         unsigned long checksum);
> +unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf,
> +                                    unsigned int len);
>
>  #endif // AVFORMAT_AVIO_INTERNAL_H

OK.

Ronald

Patch

diff --git a/libavformat/avio.h b/libavformat/avio.h
index 0d75d30..0e4e93e 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -693,8 +693,6 @@  int avio_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
  */
 int avio_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);
 
 #if FF_API_UDP_GET_FILE
diff --git a/libavformat/avio_internal.h b/libavformat/avio_internal.h
index f65798e..d2441a2 100644
--- a/libavformat/avio_internal.h
+++ b/libavformat/avio_internal.h
@@ -77,5 +77,7 @@  int ff_udp_get_local_port(URLContext *h);
 void ffio_init_checksum(AVIOContext *s,
                         unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
                         unsigned long checksum);
+unsigned long ff_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf,
+                                    unsigned int len);
 
 #endif // AVFORMAT_AVIO_INTERNAL_H