Skip to content

Commit 51a0c36

Browse files
Update README.md
1 parent cb176e0 commit 51a0c36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static void Main(string[] args)
4343
decoder.Initialize();
4444

4545
var data = BitmapToImageData(bmp);
46-
RgbImage rgbb = new RgbImage(w, h);
46+
RgbImage rgb = new RgbImage(w, h);
4747

4848
for (int j = 0; j < 10; j++)
4949
{
@@ -56,10 +56,10 @@ static void Main(string[] args)
5656
//encoded.GetBytes();
5757
//encoded.CopyTo(buffer,offset);
5858
59-
if (decoder.Decode(encoded, noDelay: true, out DecodingState ds, ref rgbb))
59+
if (decoder.Decode(encoded, noDelay: true, out DecodingState ds, ref rgb))
6060
{
6161
Console.WriteLine($"F:{encoded.FrameType} size: {encoded.Length}");
62-
// Bitmap result = RgbToBitmap(rgbb);
62+
// Bitmap result = RgbToBitmap(rgb);
6363
// result.Save("Ok1.bmp");
6464
}
6565
}

0 commit comments

Comments
 (0)