when I run an application with decoder on dm365,
I got the following error message:
ce/Vdec2.c:117: Vdec2_process: Assertion `Buffer_getNumBytesUsed(h
InBuf)' failed.
Aborted
can any one help me how to solve this errer?
Peter
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.
when I run an application with decoder on dm365,
I got the following error message:
ce/Vdec2.c:117: Vdec2_process: Assertion `Buffer_getNumBytesUsed(h
InBuf)' failed.
Aborted
can any one help me how to solve this errer?
Peter
Hi Peter,
It looks like the size of the input buffer was not set properly on the Buffer container. Typically this is done e.g. by the Loader module if you are using it to fill the input buffer, but if not you may need to call Buffer_setNumBytesUsed on the input buffer to indicate how much data is available in the input buffer.
Best regards,
Vincent
Thanks for your reply,
I call Buffer_setNumBytesUsed before call Vdec2_process,
then the error will not show again.
Peter