Bug#455331: c44: unable to encode very small files

2007-12-09 Thread Jakub Wilk
Package: djvulibre-bin Version: 3.5.19-3 Severity: normal Tags: patch c44 is unable to encode image files if they are smaller than 16 bytes. $ printf 'P5 1 5 255 x' pgm16.pgm $ c44 pgm16.pgm $ djvudump pgm16.djvu FORM:DJVU [66] INFO [10] DjVu 1x5, v24, 100 dpi, gamma=2.2

Bug#455331: c44: unable to encode very small files

2007-12-09 Thread Barak A. Pearlmutter
Thanks for the bug report patch. One minor thing. I can't send this patch, as written, upstream: a magic number 10 cannot go in the middle of some code. The 10 comes from INFO [10], right? There must be a right way to refer to the length of the info field. -- Barak A. Pearlmutter Hamilton