Skip to content

Commit

Permalink
fix: remove end bytes check for jpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
haodong404 committed Sep 24, 2024
1 parent d691481 commit 42c0343
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class JpegDecoder extends BaseDecoder with SimpleTypeValidator {

class _JpegInfo with SimpleFileHeaderAndFooter {
static const start = [0xFF, 0xD8];
static const end = [0xFF, 0xD9];
static const end = <int>[];

@override
List<int> get endBytes => end;
Expand Down

0 comments on commit 42c0343

Please sign in to comment.