aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-09-06 21:22:36 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-09-07 11:31:34 +0200
commit2c5c37ade115b5efa3f77ce11bc2c4e46b384959 (patch)
tree2d374a9075ffb00842df8d2ad33f5d7c6cc9e2ed /libavformat
parent284123d7fd8e78a7daa948b662e65eda3b33fce2 (diff)
downloadffmpeg-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 'libavformat')
0 files changed, 0 insertions, 0 deletions