aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/dca.h
diff options
context:
space:
mode:
authorDiego Biurrun2013-03-26 18:17:57 +0100
committerDiego Biurrun2013-03-27 14:21:45 +0100
commit1db6a080bddd14fed6b29140ecd2e21e42b1c022 (patch)
treed1f7181ddc9bc8413828bc3fa9a30c6f96a09aa7 /libavcodec/dca.h
parentb2472539297742c15b4d0a3977b5751170a2c1ae (diff)
dca: Move ff_dca_convert_bitstream() to the DCA common code
This makes the DCA parser and decoder independent.
Diffstat (limited to 'libavcodec/dca.h')
-rw-r--r--libavcodec/dca.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/dca.h b/libavcodec/dca.h
index 76342f0ab9..0037de2816 100644
--- a/libavcodec/dca.h
+++ b/libavcodec/dca.h
@@ -39,4 +39,10 @@
extern av_export const uint32_t avpriv_dca_sample_rates[16];
+/**
+ * Convert bitstream to one representation based on sync marker
+ */
+int ff_dca_convert_bitstream(const uint8_t *src, int src_size, uint8_t *dst,
+ int max_size);
+
#endif /* AVCODEC_DCA_H */