From: sgunderson@bigfoot.com <> Date: Sun, 31 May 2009 18:17:13 +0000 (+0200) Subject: Handle EOI marker. X-Git-Url: https://git.sesse.net/?p=fjl;a=commitdiff_plain;h=a733460846675aab7117c5cf1213d1b62785793d Handle EOI marker. --- diff --git a/driver.c b/driver.c index 35934da..fd861f2 100644 --- a/driver.c +++ b/driver.c @@ -293,6 +293,9 @@ int main(void) case 0xd8: /* SOI */ break; + case 0xd9: + /* EOI */ + exit(0); case 0xc4: /* DHT (define Huffman tables) */ read_huffman_tables(&tables, byte_source_input_func, &source);