| Previous | Next |
| MF_E_ASF_MISSINGDATA | MF_E_ASF_OPAQUEPACKET |
MF_E_ASF_INVALIDDATA
MF_E_ASF_INVALIDDATA reports malformed ASF input. The splitter has data to inspect, but the bytes do not satisfy the container structures it expects.
Validate container position before blaming media payloads
Media Foundation requires splitter input to begin in the ASF Data Object and, for a seek, at a packet boundary. Record the offset returned by the ASF ContentInfo/index path, compare it with the actual byte-stream position, and verify that read lengths are not truncating packet headers.
This status is different from MF_E_ASF_MISSINGDATA. A gap indicates lost or skipped bytes in an otherwise expected sequence; invalid data means the parser cannot interpret the supplied structure. Re-encoding the elementary audio or video stream will not fix a caller that passes Header Object bytes or a mid-packet offset to the splitter.
Microsoft: ASF Data Object offsets and packet parsing · FFmpeg ASF demuxer implementation · Wine Media Foundation error constants
Looking for a different code? Search another status or error code.