avcodec/cfhd: Check the number of tag/value pairs
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 11 Feb 2016 21:12:36 +0000 (22:12 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 12 Feb 2016 00:52:44 +0000 (01:52 +0100)
commitbbc4d069d0ef70102a2e7e7b1c0d3a00f488e666
tree0c99f02103b71df75a72e1b15e2fb89531fbef4a
parent156013111a3389a3f0c1af33dfaa008824e30727
avcodec/cfhd: Check the number of tag/value pairs

Fixes potentially long loop
Fixes: CID1351382/11

Reviewed-by: Kieran Kunhya <kieran@kunhya.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cfhd.c