| Previous | Next |
| WINCODEC_ERR_BADHEADER | WINCODEC_ERR_BADMETADATAHEADER |
WINCODEC_ERR_FRAMEMISSING
WINCODEC_ERR_FRAMEMISSING means that the requested image frame is absent from the decoded container. The error commonly occurs when code assumes that every format has frame zero available, uses an index beyond the decoder's frame count, or reads an incomplete multi-frame image.
What to check
- Call
GetFrameCountand validate the index before callingGetFrame. - Remember that some formats are single-frame while GIF and TIFF can expose multiple frames.
- If the source is streamed or generated asynchronously, make sure the entire container has been made available before enumerating frames.
For a valid single-frame JPEG, requesting any frame other than index zero is a caller error.
Looking for a different code? Search another status or error code.