avformat/img2enc: re enable atomic writes with split planes
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Oct 2015 20:38:40 +0000 (21:38 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 28 Oct 2015 01:29:51 +0000 (02:29 +0100)
They work now after fixing the implementation

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/img2enc.c

index 8a8e6e1..cd4a9a8 100644 (file)
@@ -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;
 }