diff options
author | Andreas Cadhalpun <[email protected]> | 2016-11-14 21:41:45 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2016-11-27 00:46:35 +0100 |
commit | 56b120630fd2cd39134fc25cb41caea0b620df7c (patch) | |
tree | 94166ebb8ecb6ca77a6dcf266f78bc974d122030 /libavcodec/dnxhd_parser.c | |
parent | 22cd4aa22116a365d611091916a3eff74e21ec3f (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 'libavcodec/dnxhd_parser.c')
0 files changed, 0 insertions, 0 deletions