diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-14 21:41:45 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-11-25 00:36:36 +0100 |
commit | 8c8f543b81aa2b50bb6a6cfd370a0061281492a3 (patch) | |
tree | 2ecfeea706ce4d4298079d792e2fb3f5ae1f2718 /tests/tiny_ssim.c | |
parent | 98b3a7979f2ff64cacfba4d8925faa28fc657c51 (diff) | |
download | ffmpeg-8c8f543b81aa2b50bb6a6cfd370a0061281492a3.tar.gz |
libopusdec: default to stereo for invalid number of channels
This fixes an out-of-bounds read if avc->channels is 0.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'tests/tiny_ssim.c')
0 files changed, 0 insertions, 0 deletions