Revision e6e7ba0c libavformat/mov.c

View differences:

libavformat/mov.c
1689 1689
    }
1690 1690
}
1691 1691

  
1692
static int mov_open_dref(AVIOContext **pb, char *src, MOVDref *ref)
1692
static int mov_open_dref(AVIOContext **pb, const char *src, MOVDref *ref)
1693 1693
{
1694 1694
    /* try relative path, we do not try the absolute because it can leak information about our
1695 1695
       system to an attacker */
1696 1696
    if (ref->nlvl_to > 0 && ref->nlvl_from > 0) {
1697 1697
        char filename[1024];
1698
        char *src_path;
1698
        const char *src_path;
1699 1699
        int i, l;
1700 1700

  
1701 1701
        /* find a source dir */

Also available in: Unified diff