Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 574826
Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +10 lines)
Line  Link Here
0
-- a/zbar/jpeg.c
0
++ b/zbar/jpeg.c
Lines 79-86 Link Here
79
void skip_input_data (j_decompress_ptr cinfo,
79
void skip_input_data (j_decompress_ptr cinfo,
80
                      long num_bytes)
80
                      long num_bytes)
81
{
81
{
82
    cinfo->src->next_input_byte = NULL;
82
    if(num_bytes > 0) {
83
    cinfo->src->bytes_in_buffer = 0;
83
        if (num_bytes < cinfo->src->bytes_in_buffer) {
84
            cinfo->src->next_input_byte += num_bytes;
85
            cinfo->src->bytes_in_buffer -= num_bytes;
86
        }
87
        else {
88
            fill_input_buffer(cinfo);
89
        }
90
    }
84
}
91
}
85
92
86
void term_source (j_decompress_ptr cinfo)
93
void term_source (j_decompress_ptr cinfo)

Return to bug 574826