summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/decompress.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-11-07 16:02:49 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-11-07 16:02:49 (GMT)
commit40338b9e40b980eb4bb709e4f36661d7620d9a1f (patch)
tree8b9a61576033c5a121e548c78b13b507a2a43e50 /hl/tools/gif2h5/decompress.c
parent1652a60fcbe9894d7c34a778fb24dce1979fb9a9 (diff)
parent4616c1e863ab756d22af696672ba9bc2fe0eea25 (diff)
downloadhdf5-40338b9e40b980eb4bb709e4f36661d7620d9a1f.zip
hdf5-40338b9e40b980eb4bb709e4f36661d7620d9a1f.tar.gz
hdf5-40338b9e40b980eb4bb709e4f36661d7620d9a1f.tar.bz2
Merge pull request #1298 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '4616c1e863ab756d22af696672ba9bc2fe0eea25': Add custom target to force wait on generated file TRILAB-81 fix typo TRILAB-82 fixed errors found in review Update windows test machine info TRILAB-81 Output error if filename length is greater then 255 TRILAB-81 check for func success before using value TRILAB-81 Coverity fix Move options to root CMakeLists.txt TRILAB-34 fix required through testing TRILAB-34 add batch option (also patch2 from 10633) TRILAB-81 coverity fixes
Diffstat (limited to 'hl/tools/gif2h5/decompress.c')
-rw-r--r--hl/tools/gif2h5/decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/decompress.c b/hl/tools/gif2h5/decompress.c
index 453db12..6668c22 100644
--- a/hl/tools/gif2h5/decompress.c
+++ b/hl/tools/gif2h5/decompress.c
@@ -261,7 +261,7 @@ Decompress(GIFIMAGEDESC *GifImageDesc, GIFHEAD *GifHead)
* chain puts its associated output code on the output queue.
*/
while (CurCode > DataMask) {
- if (OutCount > 1024) {
+ if (OutCount >= 1024) {
/*return error message*/
}