This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Codecs input data

Hi, one question for codec's experts.

I understand that when calling CODECS compliant with the xDAIS API for video and audio decoding I should pass data that is at least one full frame of encoded data. My question is what happen if I don't:

- Does the codec checks the size of the buffer passed and if the decoded data try to read outside buffer boundaries the codecs returns some error code?

- Or just don't check the size of the buffer and it will read the memory addresses and generate corrupted frames?

Thanks,

Diego