disable ffmpeg reports on windows (#220)

* disable ffmpeg reports for windows

* code cleanup
This commit is contained in:
Jason Dove
2021-05-27 16:36:02 -05:00
committed by GitHub
parent 0bbed69e85
commit fe5cedfcdc
8 changed files with 95 additions and 10 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ErsatzTV.Infrastructure.Images
public async Task<Either<BaseError, byte[]>> ResizeImage(byte[] imageBuffer, int height)
{
await using var inStream = new MemoryStream(imageBuffer);
using var image = await Image.LoadAsync(inStream);
using Image image = await Image.LoadAsync(inStream);
var size = new Size { Height = height };