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 22:22:11 +0100 |
commit | a6a2d9d1e546ecb7a697cfbc9f392f577e4d868c (patch) | |
tree | cf66277452f5dc040ad1337d2a815fd2ad7f7bfe /libavcodec/a64multienc.c | |
parent | 6ad27731428c93bcb3d7df91427b66a253206042 (diff) | |
download | ffmpeg-a6a2d9d1e546ecb7a697cfbc9f392f577e4d868c.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>
(cherry picked from commit 8c8f543b81aa2b50bb6a6cfd370a0061281492a3)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/a64multienc.c')
0 files changed, 0 insertions, 0 deletions