Skip to content

Commit

Permalink
avformat/file: Fix copy and paste error
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
  • Loading branch information
michaelni committed Sep 3, 2015
1 parent c0ae461 commit fddcd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavformat/file.c
Expand Up @@ -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);
Expand Down

0 comments on commit fddcd9e

Please sign in to comment.