mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-04 05:57:49 +02:00
tta: cast output data pointer to the correct type
fixes "warning: assignment from incompatible pointer type"
This commit is contained in:
parent
9993284793
commit
01ed1c390d
@ -314,7 +314,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
|
|
||||||
// decode directly to output buffer for 24-bit sample format
|
// decode directly to output buffer for 24-bit sample format
|
||||||
if (s->bps == 3)
|
if (s->bps == 3)
|
||||||
s->decode_buffer = s->frame.data[0];
|
s->decode_buffer = (int32_t *)s->frame.data[0];
|
||||||
|
|
||||||
// init per channel states
|
// init per channel states
|
||||||
for (i = 0; i < s->channels; i++) {
|
for (i = 0; i < s->channels; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user