avcodec/cfhd: Use bytestream2 for peaks
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Jul 2018 22:26:08 +0000 (00:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 18 Jul 2018 11:59:25 +0000 (13:59 +0200)
commit4a657acaefd599f3971e88419516a7f4ece00e53
treef5dc90b3750446ce1780a8c2f5f03f9fb27abb2a
parent91578f5798d36467e8e2138eada5ce26c12b4e1e
avcodec/cfhd: Use bytestream2 for peaks

This fixes out of array accesses
No testcase known

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