| 613 | */ |
| 614 | |
| 615 | METHODDEF(void) |
| 616 | reset_input_controller (j_decompress_ptr cinfo) |
| 617 | { |
| 618 | my_inputctl_ptr inputctl = (my_inputctl_ptr) cinfo->inputctl; |
| 619 | |
| 620 | inputctl->pub.consume_input = consume_markers; |
| 621 | inputctl->pub.has_multiple_scans = FALSE; /* "unknown" would be better */ |
| 622 | inputctl->pub.eoi_reached = FALSE; |
| 623 | inputctl->inheaders = 1; |
| 624 | /* Reset other modules */ |
| 625 | (*cinfo->err->reset_error_mgr) ((j_common_ptr) cinfo); |
| 626 | (*cinfo->marker->reset_marker_reader) (cinfo); |
| 627 | /* Reset progression state -- would be cleaner if entropy decoder did this */ |
| 628 | cinfo->coef_bits = NULL; |
| 629 | } |
| 630 | |
| 631 | |
| 632 | /* |
nothing calls this directly
no outgoing calls
no test coverage detected