Mercurial > libavcodec.hg
changeset 9347:b799c2a83624 libavcodec
mlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.
author | ramiro |
---|---|
date | Sun, 05 Apr 2009 20:11:40 +0000 |
parents | ee59f4f22dce |
children | 586dca8c04e7 |
files | mlpdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mlpdec.c Sun Apr 05 13:02:47 2009 +0000 +++ b/mlpdec.c Sun Apr 05 20:11:40 2009 +0000 @@ -508,7 +508,7 @@ frac_bits = get_bits(gbp, 4); s->lsb_bypass [mat] = get_bits1(gbp); - if (s->matrix_out_ch[mat] > s->max_channel) { + if (s->matrix_out_ch[mat] > s->max_matrix_channel) { av_log(m->avctx, AV_LOG_ERROR, "Invalid channel %d specified as output from matrix.\n", s->matrix_out_ch[mat]);