/**
* CCITT Fax Group 3 and 4 decompression
- * @file faxcompr.c
+ * @file libavcodec/faxcompr.c
* @author Konstantin Shishkov
*/
#include "avcodec.h"
-#include "bitstream.h"
+#include "get_bits.h"
+#include "put_bits.h"
#include "faxcompr.h"
#define CCITT_SYMS 104
static VLC ccitt_vlc[2], ccitt_group3_2d_vlc;
-av_cold void ff_ccitt_unpack_init()
+av_cold void ff_ccitt_unpack_init(void)
{
static VLC_TYPE code_table1[528][2];
static VLC_TYPE code_table2[648][2];
return -1;
}else{//vertical mode
run = run_off - offs + (cmode - 5);
- run_off -= *--ref;
+ run_off -= *--ref;
offs += run;
if(offs > width || run > width){
av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n");