avformat/file: Fix copy and paste error

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/149/head
Michael Niedermayer 10 years ago
parent c0ae4619ec
commit fddcd9e570
  1. 2
      libavformat/file.c

@ -180,7 +180,7 @@ static int file_move(URLContext *h_src, URLContext *h_dst)
const char *filename_src = h_src->filename;
const char *filename_dst = h_dst->filename;
av_strstart(filename_src, "file:", &filename_src);
av_strstart(filename_dst, "file:", &filename_src);
av_strstart(filename_dst, "file:", &filename_dst);
if (rename(filename_src, filename_dst) < 0)
return AVERROR(errno);

Loading…
Cancel
Save