[FFmpeg-cvslog] avformat/img2enc: re enable atomic writes with split planes

Michael Niedermayer git at videolan.org
Wed Oct 28 02:32:52 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Oct 27 21:38:40 2015 +0100| [232b8a5a438ae1eb9efc7e535d9c1809ac164e5c] | committer: Michael Niedermayer

avformat/img2enc: re enable atomic writes with split planes

They work now after fixing the implementation

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

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

 libavformat/img2enc.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c
index 8a8e6e1..cd4a9a8 100644
--- a/libavformat/img2enc.c
+++ b/libavformat/img2enc.c
@@ -75,10 +75,6 @@ static int write_header(AVFormatContext *s)
 
     img->use_rename = proto && !strcmp(proto, "file");
 
-    //The current atomic rename implementation is not compatible with split planes
-    if (img->split_planes)
-        img->use_rename = 0;
-
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list