aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-02-10 09:35:32 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-02-10 09:35:32 +0000
commit5c91a6755b6412c918e20ff4735ca30f38a12569 (patch)
tree054521cdfc6d752e89883ef3fcfc05d6c31fd94c /libavformat/utils.c
parentcd66005ddaebba2d6cb3b4eae75f70ae2446b204 (diff)
downloadffmpeg-5c91a6755b6412c918e20ff4735ca30f38a12569.tar.gz
* static,const,compiler warning cleanup
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index d295e9a3fa..2b7a46191d 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1376,7 +1376,7 @@ int av_read_image(ByteIOContext *pb, const char *filename,
int ret;
if (!fmt) {
- pd->filename = (char *)filename;
+ pd->filename = filename;
pd->buf = buf;
pos = url_ftell(pb);
pd->buf_size = get_buffer(pb, buf, PROBE_BUF_SIZE);