Kieran Kunhya
1e2fd57fc0
avcodec/cfhd: Fix errors with valid files.
2016-02-12 01:00:20 +00:00
Michael Niedermayer
bbc4d069d0
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>
2016-02-12 01:52:44 +01:00
Andreas Cadhalpun
916da13d6d
cfhd: fix off-by-one error in level check
...
This fixes out-of-bounds writes causing segmentation faults.
Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Reviewed-by: Kieran Kunhya <kierank@obe.tv>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-02-03 01:19:45 +01:00
Kieran Kunhya
bdd8e02b72
avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.
...
Fixes tickets #5208 and #5209
2016-02-01 14:20:20 +01:00
Kieran Kunhya
3485332bf9
avcodec: Cineform HD Decoder
...
Decodes YUV 4:2:2 10-bit and RGB 12-bit files.
Older files with more subbands, skips, Bayer, alpha not supported.
Alpha requires addition of GBRAP12 pixel format.
2016-01-30 17:44:13 +00:00