aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsv_api.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-14 21:41:45 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-25 22:22:11 +0100
commita6a2d9d1e546ecb7a697cfbc9f392f577e4d868c (patch)
treecf66277452f5dc040ad1337d2a815fd2ad7f7bfe /libavcodec/qsv_api.c
parent6ad27731428c93bcb3d7df91427b66a253206042 (diff)
downloadffmpeg-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/qsv_api.c')
0 files changed, 0 insertions, 0 deletions