1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

avformat/img2enc: re enable atomic writes with split planes

They work now after fixing the implementation

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-10-27 21:38:40 +01:00
parent eaa6bade37
commit 232b8a5a43

View 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;
}