Commit fddcd9e5 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/file: Fix copy and paste error

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent c0ae4619
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment