Repository navigation
ManagedCodecs 0.1.0-preview.3
Pre-release
Pre-release
Breaking changes
H264Decoder(VideoStreamInfo)crops frames to the container's picture size where it takes only columns and rows
off the right and bottom within the last macroblock, as FFmpeg's decoder does: an Apple-encoded 640x360 MP4 that
stores 640x359 now decodes to 640x359. The span constructor is unchanged.
Fixed
- H.264: a field picture's packet that goes on with a slice of the other field or of a frame is refused (as a packet
holding more than one picture) rather than decoded into the field, where concealing errors could throw
ArgumentOutOfRangeException; and frames larger than any level allows (over 139,264 macroblocks) are refused with
NotSupportedExceptionrather than decoded in time and memory without bound. Both from fuzzing. - H.264, from a longer fuzzing round: a slice with more reference list modifications than its list has entries, SPS
crop offsets that overflow when scaled, and a first_mb_in_slice of 2^31 or more areInvalidDataExceptions
rather thanArgumentOutOfRangeException,OverflowExceptionandIndexOutOfRangeException.