Skip to content
Snippets Groups Projects
Commit c5fe41c7 authored by Vitaliy E Sugrobov's avatar Vitaliy E Sugrobov Committed by Paul B Mahol
Browse files

Add meaningful error codes and constants.


Replace literals with named constants in several pieces of code
like 'return -1' and 'case 0xab'.
Change the way decoder handles absence of image data in a file:
notify gif_decode_frame() caller with got_picture set to zero
instead of returning -1.

Signed-off-by: default avatarVitaliy E Sugrobov <vsugrob@hotmail.com>
parent 034a1afb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment