mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/atrac3: Constify a pointer declaration.
Silences an "assignment discards ‘const’ qualifier" warning.
This commit is contained in:
parent
ed491db3e5
commit
b47582f43a
@ -652,7 +652,7 @@ static int decode_frame(AVCodecContext *avctx, const uint8_t *databuf,
|
||||
|
||||
/* Decode sound unit pairs (channels are expected to be even).
|
||||
* Multichannel joint stereo interleaves pairs (6ch: 2ch + 2ch + 2ch) */
|
||||
uint8_t *js_databuf;
|
||||
const uint8_t *js_databuf;
|
||||
int js_pair, js_block_align;
|
||||
|
||||
js_block_align = (avctx->block_align / avctx->channels) * 2; /* block pair */
|
||||
|
Loading…
Reference in New Issue
Block a user