[FFmpeg-cvslog] avformat/file: Fix copy and paste error

Michael Niedermayer git at videolan.org
Thu Sep 3 13:02:28 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Sep  3 12:40:12 2015 +0200| [fddcd9e5702ebd2166d8ac73c4b6df32beda23e8] | committer: Michael Niedermayer

avformat/file: Fix copy and paste error

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fddcd9e5702ebd2166d8ac73c4b6df32beda23e8
---

 libavformat/file.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/file.c b/libavformat/file.c
index c4201d7..b855f56 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -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);



More information about the ffmpeg-cvslog mailing list