diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-04-18 18:31:36 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-06 17:09:24 +0200 |
commit | f0bf5c538a855ba92a5fc90a364411d892493dec (patch) | |
tree | 7448a5ef8a6fc5c6455f35466cbaa70d933fb91b /libavcodec/mimic.c | |
parent | 36c5bb6a721a73b941a05500b32022d50e830207 (diff) | |
download | ffmpeg-f0bf5c538a855ba92a5fc90a364411d892493dec.tar.gz |
alsdec: ensure channel reordering is reversible
If the same idx is used for more than one i, at least one entry in
sconf->chan_pos remains uninitialized.
This can cause segmentation faults.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ef16501aebed43e34a3721336e8bee732eca2877)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mimic.c')
0 files changed, 0 insertions, 0 deletions