You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
avformat/file: Fix copy and paste error
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -180,7 +180,7 @@ static int file_move(URLContext *h_src, URLContext *h_dst)
|
|||||||
const char *filename_src = h_src->filename;
|
const char *filename_src = h_src->filename;
|
||||||
const char *filename_dst = h_dst->filename;
|
const char *filename_dst = h_dst->filename;
|
||||||
av_strstart(filename_src, "file:", &filename_src);
|
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)
|
if (rename(filename_src, filename_dst) < 0)
|
||||||
return AVERROR(errno);
|
return AVERROR(errno);
|
||||||
|
|||||||
Reference in New Issue
Block a user