diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-05-17 00:46:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-17 03:05:36 +0200 |
commit | e6e7ba0ce3aadef32f7f16f706c4a0406b5bd70f (patch) | |
tree | 0627618c50304f36803125b23b5e660ca3c0f6b2 /libavformat/mov.c | |
parent | f2962ac8ad353c12d81bc515a01427f0912b4a69 (diff) | |
download | ffmpeg-e6e7ba0ce3aadef32f7f16f706c4a0406b5bd70f.tar.gz |
Add some forgotten const to function arguments in libavfilter & libavformat.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index a41b8ce73d..26e7a3a2df 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1689,13 +1689,13 @@ static void mov_build_index(MOVContext *mov, AVStream *st) } } -static int mov_open_dref(AVIOContext **pb, char *src, MOVDref *ref) +static int mov_open_dref(AVIOContext **pb, const char *src, MOVDref *ref) { /* try relative path, we do not try the absolute because it can leak information about our system to an attacker */ if (ref->nlvl_to > 0 && ref->nlvl_from > 0) { char filename[1024]; - char *src_path; + const char *src_path; int i, l; /* find a source dir */ |