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:
parent
90eb0a2180
commit
0cb8369bce
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user