FFmpeg H264 parsing

*爱你&永不变心* 提交于 2019-12-02 03:44:01

In main() function of your code

  char *arghwtf = malloc(INBUF_SIZE);

You have allocated memory by using malloc function which returns void * , and you are assigning this void * to char * that's why you are getting errors. You have to typecast it into char *.

Instead try this.

 char *arghwtf =(char *) malloc(INBUF_SIZE);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!