Mercurial > libavcodec.hg
comparison mjpeg.c @ 375:749b5c16c0f7 libavcodec
- Warning fix.
author | pulento |
---|---|
date | Thu, 09 May 2002 05:42:27 +0000 |
parents | 0eca28d16cbd |
children | fce0a2520551 |
comparison
equal
deleted
inserted
replaced
374:02147e22f8c8 | 375:749b5c16c0f7 |
---|---|
605 #define SKIP_REMAINING(gb, len) { \ | 605 #define SKIP_REMAINING(gb, len) { \ |
606 dprintf("reamining %d bytes in marker\n", len); \ | 606 dprintf("reamining %d bytes in marker\n", len); \ |
607 if (len) while (--len) \ | 607 if (len) while (--len) \ |
608 skip_bits(gb, 8); \ | 608 skip_bits(gb, 8); \ |
609 } | 609 } |
610 | |
611 static int mjpeg_decode_dht(MJpegDecodeContext *s, UINT8 *buf, int buf_size); | |
610 | 612 |
611 static void build_vlc(VLC *vlc, const UINT8 *bits_table, const UINT8 *val_table, | 613 static void build_vlc(VLC *vlc, const UINT8 *bits_table, const UINT8 *val_table, |
612 int nb_codes) | 614 int nb_codes) |
613 { | 615 { |
614 UINT8 huff_size[256]; | 616 UINT8 huff_size[256]; |