diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2019-04-16 10:06:24 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-04-16 10:06:24 +0000 |
commit | 7a86a094a50fa98d773e9e90964fac762ac948b3 (patch) | |
tree | 960883277ed86760eec6f3d9a3afca9c21fd914e | |
parent | d1918a47feed477782dc6c3c6a35d425c8345b46 (diff) | |
parent | 69514bb3082c0f26a3684501240c982b79ecc22b (diff) | |
download | fdk-aac-7a86a094a50fa98d773e9e90964fac762ac948b3.tar.gz fdk-aac-7a86a094a50fa98d773e9e90964fac762ac948b3.tar.bz2 fdk-aac-7a86a094a50fa98d773e9e90964fac762ac948b3.zip |
Snap for 5447620 from 69514bb3082c0f26a3684501240c982b79ecc22b to pi-qpr3-b-release
Change-Id: I85690855119d1d87f317117f7454b99a1353a388
-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) { |