---------------------------------ffmpeg 编译错误解决方法--------------------------
Error: No previous prototype for function. Why am I getting this error?
down voteaccepted
ISO/IEC 9899:TC2 - 6.2.1.2:
A function prototype is a declaration of a function that declares the types of its parameters.
An empty argument list in a function declaration indicates that the number and type of parameters is not known. You must explicitly indicate that the function takes no arguments by using the void keyword to make your function declaration a prototype:
(没有加本C文件的头文件)
------------------------------------------