Vittorio Giovara
7888ae8266
cfhd: Do not initialize context size
...
Otherwise probing and stream analisys will report a correct coded size
but an empty visible size.
Approved by: kieran
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Carl Eugen Hoyos
59793785f4
lavc/cfhd: Remove one more \n from avpriv_report_missing_feature().
9 years ago
Carl Eugen Hoyos
719276b860
lavc/cfhd: Sanitize avpriv_report_missing_feature() usage.
9 years ago
Kieran Kunhya
247fe3e494
avcodec/cfhd: Fixes cfhd_odd.mov which has a resolution of 496x241
...
In this case container width/height is better however.
Thanks to koda for the sample
9 years ago
Kieran Kunhya
8adbe26b90
avcodec/cfhd: Add support for 12-bit RGBA.
...
Plays all known samples
9 years ago
Kieran Kunhya
0096453f70
cfhd: reallocate internal buffers on format change.
...
Fixes some, but not all, of the threading fuzz crashes
9 years ago
Kieran Kunhya
1e2fd57fc0
avcodec/cfhd: Fix errors with valid files.
9 years ago
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>
9 years ago
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>
9 years ago
Kieran Kunhya
bdd8e02b72
avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.
...
Fixes tickets #5208 and #5209
9 years ago
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.
9 years ago