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-27 00:38:57 +0100 |
commit | dbad79248704d4b7cfcabbe46a734c51c1ada9a0 (patch) | |
tree | 0e3524b94bb6271fc8dd59c9da6dfa086b552db9 /libavcodec/file_open.c | |
parent | 5d2f1ffef1f26e4d66c8e63ab1101da179af11e6 (diff) | |
download | ffmpeg-dbad79248704d4b7cfcabbe46a734c51c1ada9a0.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/file_open.c')
0 files changed, 0 insertions, 0 deletions