Fix GifReader exceptions (#13760)

pull/13763/head
ThibG 2020-05-15 11:38:12 +02:00 committed by GitHub
parent 27ea7c13a5
commit 927f9ea499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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