mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-14 04:54:54 +08:00
tools/target_{bsf,dec}_fuzzer: convert to new channel layout-API
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -85,7 +85,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
||||
extradata_size = bytestream2_get_le32(&gbc);
|
||||
|
||||
bsf->par_in->sample_rate = bytestream2_get_le32(&gbc);
|
||||
bsf->par_in->channels = (unsigned)bytestream2_get_le32(&gbc) % FF_SANE_NB_CHANNELS;
|
||||
bsf->par_in->ch_layout.nb_channels = (unsigned)bytestream2_get_le32(&gbc) % FF_SANE_NB_CHANNELS;
|
||||
bsf->par_in->block_align = bytestream2_get_le32(&gbc);
|
||||
keyframes = bytestream2_get_le64(&gbc);
|
||||
flushpattern = bytestream2_get_le64(&gbc);
|
||||
|
Reference in New Issue
Block a user