diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c
index 8a8e6e1173500cb6c6ea69fc10c157b893d4157b..cd4a9a86a72d8242777bb7c2658bdff052e9ada9 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;
 }