GCC 3.3.2 warnings patch by (Panagiotis Issaris <takis at lumumba dot luc dot ac dot be>)

Originally committed as revision 2440 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Panagiotis Issaris 2003-10-26 10:49:49 +00:00 committed by Michael Niedermayer
parent 14cabd4068
commit 0bf92f7957
2 changed files with 5 additions and 5 deletions

View file

@ -294,7 +294,7 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
{
AVFormatContext *ic = NULL;
int err, must_open_file;
char buf[PROBE_BUF_SIZE];
unsigned char buf[PROBE_BUF_SIZE];
AVProbeData probe_data, *pd = &probe_data;
ic = av_mallocz(sizeof(AVFormatContext));
@ -1440,8 +1440,8 @@ int get_frame_filename(char *buf, int buf_size,
const char *path, int number)
{
const char *p;
char *q, buf1[20];
int nd, len, c, percentd_found;
char *q, buf1[20], c;
int nd, len, percentd_found;
q = buf;
p = path;