mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-02-20 20:41:08 +01:00
Fix FFmpeg for non-planar formats
This commit is contained in:
parent
9c8dc69e4b
commit
2b1de051e2
@ -657,7 +657,7 @@ static void copy_samples(ffmpeg_codec_data *data, sample_t *outbuf, int samples_
|
||||
ibuf = data->frame->extended_data;
|
||||
}
|
||||
else {
|
||||
ibuf = data->frame->data;
|
||||
ibuf = data->frame->data[0];
|
||||
}
|
||||
|
||||
switch (data->codecCtx->sample_fmt) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user