corrected sign of argument

This commit is contained in:
Anshul Maheshwari 2014-11-26 18:02:25 +05:30
parent cf0ebd27f7
commit 3953f806b0
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ fail:
* @param maxlen length of buffer, where data will be copied
* @return number of bytes recieved as data
*/
int ff_get_ccframe(void *arg,char*data,int maxlen)
int ff_get_ccframe(void *arg, unsigned char*data, int maxlen)
{
struct ffmpeg_ctx *ctx = arg;
int len = 0;

View File

@ -19,5 +19,5 @@ void *init_ffmpeg(char *path);
* @param maxlen length of buffer, where data will be copied
* @return number of bytes recieved as data
*/
int ff_get_ccframe(void *arg,char*data,int maxlen);
int ff_get_ccframe(void *arg, unsigned char*data, int maxlen);
#endif