aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2003-10-26 10:49:49 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-10-26 10:49:49 +0000
commit0bf92f7957f763face74bbade364293b3689064c (patch)
tree07feac46076ff1a0ce5f6e9583389e16c73c412e /libavformat/utils.c
parent14cabd40680e459e5d5385e9045d2391b56d2b95 (diff)
downloadffmpeg-0bf92f7957f763face74bbade364293b3689064c.tar.gz
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
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index a593f42d6c..70c9e6e192 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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;