Skip to content
Snippets Groups Projects
Commit 232b8a5a authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avformat/img2enc: re enable atomic writes with split planes


They work now after fixing the implementation

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent eaa6bade
No related branches found
No related tags found
No related merge requests found
...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment