diff options
author | Andreas Cadhalpun <[email protected]> | 2016-11-14 21:41:45 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2016-11-27 00:38:57 +0100 |
commit | dbad79248704d4b7cfcabbe46a734c51c1ada9a0 (patch) | |
tree | 0e3524b94bb6271fc8dd59c9da6dfa086b552db9 /libavformat/swfenc.c | |
parent | 5d2f1ffef1f26e4d66c8e63ab1101da179af11e6 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
(cherry picked from commit 8c8f543b81aa2b50bb6a6cfd370a0061281492a3)
Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'libavformat/swfenc.c')
0 files changed, 0 insertions, 0 deletions