tools_common: fix build w/encoders/decoders disabled
authorJames Zern <jzern@google.com>
Mon, 10 Aug 2015 23:45:49 +0000 (16:45 -0700)
committerJames Zern <jzern@google.com>
Mon, 10 Aug 2015 23:48:47 +0000 (16:48 -0700)
commit8465c938f1fd6fb6bf2fc82de442bf1df2e029d7
tree2961e0fb369f99186b11426ce4839058faec0e39
parent1d723572b9de9a26151a877c3f28a4fa83c5e7d9
tools_common: fix build w/encoders/decoders disabled

gcc-based builds will allow a 0-element array, but visual studio builds
will not; this change hides the encoder and decoder specific symbols as
modules using them are selected based on the configuration.

Change-Id: Ic16ba9d12241070ec689dc5880164c14a4f7ca44
tools_common.c