avformat/img2enc: re enable atomic writes with split planes

They work now after fixing the implementation

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/158/head
Michael Niedermayer 9 years ago
parent eaa6bade37
commit 232b8a5a43
  1. 4
      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;
}

Loading…
Cancel
Save