diff options
author | John Koleszar <jkoleszar@google.com> | 2011-02-28 20:06:56 -0500 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2011-02-28 20:06:59 -0500 |
commit | 987ac894037845fa406aaf7b9f502302993be295 (patch) | |
tree | 763dab64a20200446fe8aed3fc4b681c775854a9 /examples/simple_decoder.txt | |
parent | cfaee9f7c663150d4bc478bb47e3eb4038076ca5 (diff) | |
download | libvpx-987ac894037845fa406aaf7b9f502302993be295.tar libvpx-987ac894037845fa406aaf7b9f502302993be295.tar.gz libvpx-987ac894037845fa406aaf7b9f502302993be295.tar.bz2 libvpx-987ac894037845fa406aaf7b9f502302993be295.zip |
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
Diffstat (limited to 'examples/simple_decoder.txt')
-rw-r--r-- | examples/simple_decoder.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple_decoder.txt b/examples/simple_decoder.txt index be8ca734a..90d9a6870 100644 --- a/examples/simple_decoder.txt +++ b/examples/simple_decoder.txt @@ -33,7 +33,7 @@ Initializing The Codec ---------------------- The decoder is initialized by the following code. This is an example for the VP8 decoder, but the code is analogous for all algorithms. Replace -`&vpx_codec_vp8_dx_algo` with a pointer to the interface exposed by the +`vpx_codec_vp8_dx()` with a pointer to the interface exposed by the algorithm you want to use. The `cfg` argument is left as NULL in this example, because we want the algorithm to determine the stream configuration (width/height) and allocate memory automatically. This |