Skip to content

Commit

Permalink
Merge pull request #3290 from felixhandte/ddict-dict-id-from-ddict
Browse files Browse the repository at this point in the history
Make ZSTD_getDictID_fromDDict() Read DictID from DDict
  • Loading branch information
felixhandte authored Oct 18, 2022
2 parents 0d5d571 + d7841d1 commit 99d239d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/decompress/zstd_ddict.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,5 @@ size_t ZSTD_sizeof_DDict(const ZSTD_DDict* ddict)
unsigned ZSTD_getDictID_fromDDict(const ZSTD_DDict* ddict)
{
if (ddict==NULL) return 0;
return ZSTD_getDictID_fromDict(ddict->dictContent, ddict->dictSize);
return ddict->dictID;
}

0 comments on commit 99d239d

Please sign in to comment.