avformat/file: Fix copy and paste error
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Sep 2015 10:40:12 +0000 (12:40 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Sep 2015 10:42:40 +0000 (12:42 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/file.c

index c4201d7..b855f56 100644 (file)
@@ -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);