ZSTDCodec should properly handle non-shortcut levels
authorPhilip Pronin <philipp@fb.com>
Wed, 12 Oct 2016 17:57:13 +0000 (10:57 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 12 Oct 2016 18:08:47 +0000 (11:08 -0700)
commit339ce0bfc0610f5c91e13cb1cae28bfda6e147bc
tree0ec090547df6aa50d16dfb1bf3e0e8af93b2ee14
parentfec7b1bc321fa6faa4af5a57d7b29ecc363ff7dc
ZSTDCodec should properly handle non-shortcut levels

Summary:
Currently only shortcut levels are properly handled, others result in
using level 1.

Reviewed By: yfeldblum

Differential Revision: D4008123

fbshipit-source-id: 37845eeec139007738f99e72ecfb969c6a2e5652
folly/io/Compression.cpp