Add some forgotten const to function arguments in libavfilter & libavformat.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2011-05-17 00:46:48 +02:00
parent f2962ac8ad
commit e6e7ba0ce3
6 changed files with 18 additions and 18 deletions

View File

@@ -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 */