1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/tak: make buf const in avpriv_dca_parse_core_frame_header()

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-10-22 20:51:31 -03:00
parent 90eb0a2180
commit 0cb8369bce
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);