avcodec/cfhd: Use the actual count instead of the expected in peak_table()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 12 Aug 2018 22:58:32 +0000 (00:58 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Aug 2018 00:32:41 +0000 (02:32 +0200)
commit77429b4217bd2366c5f05479086b3f9613d640ee
tree56d0315d68c47b61ee6341d21337b28522167318
parent2c1613ac94d07fd85e8831bb7aa7eb4bec707285
avcodec/cfhd: Use the actual count instead of the expected in peak_table()

Fixes: out of array access (no testcase)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cfhd.c