/alps/ufodecode

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/ufodecode

« back to all changes in this revision

Viewing changes to src/ufodecode.c

  • Committer: Matthias Vogelgesang
  • Date: 2012-05-30 14:30:19 UTC
  • Revision ID: matthias.vogelgesang@kit.edu-20120530143019-tj7kaljp7olmlekr
clear-frame does not expect an argument

Fix problem that ipedec eats one filename after supplying "-c" or
"--clear-frame".

Show diffs side-by-side

added added

removed removed

Lines of Context:
407
407
                fprintf(stderr, "Error: row_number in header is %i instead of %i\n", 
408
408
                        header->row_number, row); 
409
409
                return 1;
410
 
                /* abort(); */
411
410
            }
412
411
 
413
412
            if (header->pixel_number > 128) {
414
413
                fprintf(stderr, "Error: pixel_number in header is %i instead of %i\n", 
415
414
                        header->pixel_number, pix); 
416
415
                return 1;
417
 
                /* abort(); */
418
416
            }
419
417
 
420
418
            index = header->row_number * IPECAMERA_WIDTH + header->pixel_number;