I am using FFmpeg to decoding H.264 video, for the following program:
#include
#include
#include
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);