[FFmpeg-cvslog] avcodec/tak: make buf const in avpriv_dca_parse_core_frame_header()
James Almer
git at videolan.org
Mon Oct 23 02:55:05 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Oct 22 20:51:31 2017 -0300| [0cb8369bce32c559fc3ccd1eb0f93151e293b465] | committer: James Almer
avcodec/tak: make buf const in avpriv_dca_parse_core_frame_header()
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0cb8369bce32c559fc3ccd1eb0f93151e293b465
---
libavcodec/dca.c | 2 +-
libavcodec/dca.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index 307b21471e..942fe6c3c9 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -146,7 +146,7 @@ int ff_dca_parse_core_frame_header(DCACoreFrameHeader *h, GetBitContext *gb)
return 0;
}
-int avpriv_dca_parse_core_frame_header(DCACoreFrameHeader *h, uint8_t *buf, int size)
+int avpriv_dca_parse_core_frame_header(DCACoreFrameHeader *h, const uint8_t *buf, int size)
{
GetBitContext gb;
diff --git a/libavcodec/dca.h b/libavcodec/dca.h
index 172c965b3b..c70598af92 100644
--- a/libavcodec/dca.h
+++ b/libavcodec/dca.h
@@ -213,7 +213,7 @@ int avpriv_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst,
* Parse and validate core frame header
* @return 0 on success, negative DCA_PARSE_ERROR_ code on failure
*/
-int avpriv_dca_parse_core_frame_header(DCACoreFrameHeader *h, uint8_t *buf, int size);
+int avpriv_dca_parse_core_frame_header(DCACoreFrameHeader *h, const uint8_t *buf, int size);
int ff_dca_parse_core_frame_header(DCACoreFrameHeader *h, GetBitContext *gb);
More information about the ffmpeg-cvslog
mailing list