From d3c40a7d1d9e4a90edec540a6acfe060dc829273 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Mon, 1 Oct 2012 12:48:23 +0200
Subject: avformat: const correctness for av_hex_dump / av_hex_dump_log

---
 libavformat/avformat.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'libavformat/avformat.h')

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 134a38bfe9..f9f39a6c7c 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1539,7 +1539,7 @@ enum AVCodecID av_guess_codec(AVOutputFormat *fmt, const char *short_name,
  *
  * @see av_hex_dump_log, av_pkt_dump2, av_pkt_dump_log2
  */
-void av_hex_dump(FILE *f, uint8_t *buf, int size);
+void av_hex_dump(FILE *f, const uint8_t *buf, int size);
 
 /**
  * Send a nice hexadecimal dump of a buffer to the log.
@@ -1553,7 +1553,7 @@ void av_hex_dump(FILE *f, uint8_t *buf, int size);
  *
  * @see av_hex_dump, av_pkt_dump2, av_pkt_dump_log2
  */
-void av_hex_dump_log(void *avcl, int level, uint8_t *buf, int size);
+void av_hex_dump_log(void *avcl, int level, const uint8_t *buf, int size);
 
 /**
  * Send a nice dump of a packet to the specified file stream.
-- 
cgit v1.2.3