examples: use function to get iface pointers
authorJohn Koleszar <jkoleszar@google.com>
Tue, 1 Mar 2011 01:06:56 +0000 (20:06 -0500)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 1 Mar 2011 01:06:59 +0000 (20:06 -0500)
commit987ac894037845fa406aaf7b9f502302993be295
tree763dab64a20200446fe8aed3fc4b681c775854a9
parentcfaee9f7c663150d4bc478bb47e3eb4038076ca5
examples: use function to get iface pointers

MSVC can't pass the address of global variables in a DLL correctly
across DLL boundaries. This patch allows linking the examples to
a libvpx dll build. Fixes issue #268.

Change-Id: I1c52d076cfc68efb3efdfba019f12d53c5019f58
examples/decoder_tmpl.c
examples/decoder_tmpl.txt
examples/encoder_tmpl.c
examples/encoder_tmpl.txt
examples/simple_decoder.txt