Revision 491ea146 Cutter/input.c

View differences:

Cutter/input.c
95 95
#ifdef AVS
96 96
    if (chunk_size == 0) {
97 97
        s->read = chunk_read_avs;
98
    } else {
98
    } else if (chunk_size == -1) {
99 99
        s->read = chunk_read_avs1;
100
    } else {
101
        s->read = chunk_read_avs2;
100 102
    }
101 103
    s->close = close_input_stream_avs;
102 104
    s->ctx = input_stream_open_avs(fname, chunk_size);

Also available in: Unified diff