diff options
author | James Almer <jamrial@gmail.com> | 2022-07-04 14:00:21 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-07-04 14:00:25 -0300 |
commit | 94901a9518664a13f3ac8d0062f6600741b9c9aa (patch) | |
tree | 391105fe757c0b0b0eb5f0c6b6ab70a29a76d58c /libavfilter/transform.h | |
parent | c9a2506de9e906e82c4c99df759fcfc1142b24a4 (diff) | |
download | ffmpeg-94901a9518664a13f3ac8d0062f6600741b9c9aa.tar.gz |
avformat/matroskadec: fix setting channel layout using the Channels element
If the stream's channel layout is first set into a native layout using codec
private parameters, this code here could potentially result in an invalid
native layout where popcnt(ch_layout.u.mask) != ch_layout.nb_channels being
propagated.
Fixes: Timeout printing a billion channels
Fixes: 48099/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-6754782204788736
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/transform.h')
0 files changed, 0 insertions, 0 deletions