/* __get_next_code(pInputStream) */
- if (navail_bytes < 2) {
- if (nbits_left == 0) {
- __get_next_code_first_nbits_left_0_nobuffer(pInputStream)
- } else
- __get_next_code_first_nbits_left_not_0(pInputStream)
-
- __get_next_code_first_while_nobuffer(pInputStream)
- } else {
- if (nbits_left == 0)
- __get_next_code_second_nbits_left_0(pInputStream)
- else
- __get_next_code_second_nbits_left_not_0(pInputStream)
-
- __get_next_code_second_while(pInputStream)
- }
+ __get_next_code_first_nbits_left_0_nobuffer(pInputStream)
+ __get_next_code_first_while_nobuffer(pInputStream)
if (c == ending) {
break;
IfegMemFree(decoderline);
decoderline = 0;
}
- if (pDecBuf != 0) {
- IfegMemFree(pDecBuf);
- pDecBuf = 0;
- }
return 0;
}
/* __get_next_code(pInputStream) */
- if (navail_bytes < 2) {
- if (nbits_left == 0)
- __get_next_code_first_nbits_left_0(pInputStream)
- else
- __get_next_code_first_nbits_left_not_0(pInputStream)
- __get_next_code_first_while(pInputStream)
- } else {
- if (nbits_left == 0)
- __get_next_code_second_nbits_left_0(pInputStream)
- else
- __get_next_code_second_nbits_left_not_0(pInputStream)
+ __get_next_code_first_nbits_left_0(pInputStream)
+ __get_next_code_first_while(pInputStream)
- __get_next_code_second_while(pInputStream)
- }
if (c == ending) {
break;
}