Commit 232b8a5a authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/img2enc: re enable atomic writes with split planes

They work now after fixing the implementation
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent eaa6bade
...@@ -75,10 +75,6 @@ static int write_header(AVFormatContext *s) ...@@ -75,10 +75,6 @@ static int write_header(AVFormatContext *s)
img->use_rename = proto && !strcmp(proto, "file"); 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; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment