mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-07 21:17:58 +00:00
avformat/file: Fix copy and paste error
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
c0ae4619ec
commit
fddcd9e570
@ -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…
Reference in New Issue
Block a user