summaryrefslogtreecommitdiff
path: root/vpx/vp8dx.h
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2010-09-21 10:35:52 -0400
committerJohn Koleszar <jkoleszar@google.com>2010-09-23 14:58:43 -0400
commitfa7a55bb043a6abfc661a8d06a2611b54372fe1c (patch)
tree98090f133249c74923eed5171ad7d38f13c9294b /vpx/vp8dx.h
parent12651b3c2b91697920c73ebb121a44e4dd767d32 (diff)
downloadlibvpx-fa7a55bb043a6abfc661a8d06a2611b54372fe1c.tar
libvpx-fa7a55bb043a6abfc661a8d06a2611b54372fe1c.tar.gz
libvpx-fa7a55bb043a6abfc661a8d06a2611b54372fe1c.tar.bz2
libvpx-fa7a55bb043a6abfc661a8d06a2611b54372fe1c.zip
Add getter functions for the interface data symbols
Having these symbols be available as functions rather than data is occasionally more convenient. Implemented this way rather than a get-codec-by-id style to avoid creating a link-time dependency between the encoder and the decoder. Fixes issue #169 Change-Id: I319f281277033a5e7e3ee3b092b9a87cce2f463d
Diffstat (limited to 'vpx/vp8dx.h')
-rw-r--r--vpx/vp8dx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vpx/vp8dx.h b/vpx/vp8dx.h
index 4cad838ff..fccd407f3 100644
--- a/vpx/vp8dx.h
+++ b/vpx/vp8dx.h
@@ -29,7 +29,8 @@
* This interface provides the capability to decode raw VP8 streams, as would
* be found in AVI files and other non-Flash uses.
*/
-extern vpx_codec_iface_t vpx_codec_vp8_dx_algo;
+extern vpx_codec_iface_t vpx_codec_vp8_dx_algo;
+extern vpx_codec_iface_t* vpx_codec_vp8_dx(void);
/* Include controls common to both the encoder and decoder */
#include "vp8.h"