Commit b47582f4 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavc/atrac3: Constify a pointer declaration.

Silences an "assignment discards ‘const’ qualifier" warning.
parent ed491db3
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment