diff options
Diffstat (limited to 'libFDK/src/nlc_dec.cpp')
-rw-r--r-- | libFDK/src/nlc_dec.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libFDK/src/nlc_dec.cpp b/libFDK/src/nlc_dec.cpp index 6e98ce0..8a8ccfd 100644 --- a/libFDK/src/nlc_dec.cpp +++ b/libFDK/src/nlc_dec.cpp @@ -647,10 +647,6 @@ static ERROR_t huff_decode(HANDLE_FDK_BITSTREAM strm, SCHAR* out_data_1, } df_rest_flag_1 = num_val_1_int % 2; if (df_rest_flag_1) num_val_1_int -= 1; - if (num_val_1_int < 0) { - err = HUFFDEC_NOTOK; - goto bail; - } } if (out_data_2 != NULL) { if (diff_type_2 == DIFF_FREQ) { @@ -662,10 +658,6 @@ static ERROR_t huff_decode(HANDLE_FDK_BITSTREAM strm, SCHAR* out_data_1, } df_rest_flag_2 = num_val_2_int % 2; if (df_rest_flag_2) num_val_2_int -= 1; - if (num_val_2_int < 0) { - err = HUFFDEC_NOTOK; - goto bail; - } } if (out_data_1 != NULL) { |