Skip to content

Commit 65d103e

Browse files
Update AotCompilerTools.cs
1 parent 0fa3921 commit 65d103e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ImageSharp/Advanced/AotCompilerTools.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ private static void AotCodecs<TPixel>()
198198
ms.Position = 0;
199199
}
200200

201-
using var decoded = Image<TPixel>.Load(ms);
201+
using var decoded = Image.Load<TPixel>(ms);
202+
Span<TPixel> span = decoded.GetPixelRowSpan(0);
202203
}
203204
}
204205

0 commit comments

Comments
 (0)