mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +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;
|
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;
|
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
|
* Parse and validate core frame header
|
||||||
* @return 0 on success, negative DCA_PARSE_ERROR_ code on failure
|
* @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);
|
int ff_dca_parse_core_frame_header(DCACoreFrameHeader *h, GetBitContext *gb);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user