Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

decoder Getting Failed at algInit

$
0
0

hi

i was trying to understand sv04

there  I did wrote copied ti function and gave them name with ch2

            ret = _ALG_allocMemory_ch2(memTab, n);
            if ( ret == TRUE)
            {
                alg = (IALG_Handle) memTab[0].base;
                alg->fxns = fxns;

//                t_errno = 8989;
//                return NULL;

//                if ((ret = fxns->algInit(alg, memTab, p, params)) == IALG_EOK)
                if ((ret = fxns->algInit(alg,memTab,NULL, NULL)) == IALG_EOK)

                {
                    t_errno = -999;
                    return NULL;

                    return (alg);
                }
                t_errno = 9090;
                return NULL;

Mine objervation over here were  i do get 8989 error but dont get 9090 and 999 error.

i feel like there is some kind of segmentation fault in alg_init

this is the code snippet from siuvctmemmgr.c

Sorry guys i dont have any emulator,  working on advantech pcie 8581,  yesterday  i implemented provision for an intiger through mailbox

so errorno is all what i have for debuugiing


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>