Fix GifReader exceptions (#13760)
parent
063940f489
commit
74de5ade7d
|
@ -6,7 +6,7 @@ class GifReader
|
||||||
EXTENSION_LABELS = [0xf9, 0x01, 0xff].freeze
|
EXTENSION_LABELS = [0xf9, 0x01, 0xff].freeze
|
||||||
GIF_HEADERS = %w(GIF87a GIF89a).freeze
|
GIF_HEADERS = %w(GIF87a GIF89a).freeze
|
||||||
|
|
||||||
class GifReaderException; end
|
class GifReaderException < StandardError; end
|
||||||
|
|
||||||
class UnknownImageType < GifReaderException; end
|
class UnknownImageType < GifReaderException; end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue