diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-09-06 21:22:36 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-09-07 11:31:34 +0200 |
commit | 2c5c37ade115b5efa3f77ce11bc2c4e46b384959 (patch) | |
tree | 2d374a9075ffb00842df8d2ad33f5d7c6cc9e2ed /libavutil/pixdesc.c | |
parent | 284123d7fd8e78a7daa948b662e65eda3b33fce2 (diff) | |
download | ffmpeg-2c5c37ade115b5efa3f77ce11bc2c4e46b384959.tar.gz |
libswresample: move condition to start of loop.
This avoids several issue like calculating sum/maxcoef
incorrectly due to adding up matrix entries that will
be overwritten, as well as out-of-range writes to
s->matrix if the maximum allowed number of channels is used.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavutil/pixdesc.c')
0 files changed, 0 insertions, 0 deletions