]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dca.h
avcodec: Add av_cold attributes to init functions missing them
[ffmpeg] / libavcodec / dca.h
index 9235fa4f0babb9014c3adbeb40cc2ec1d605a6c8..0037de2816c813f649f4a66c12b1f8b0f4e64dec 100644 (file)
@@ -26,6 +26,7 @@
 #define AVCODEC_DCA_H
 
 #include <stdint.h>
+#include "libavutil/internal.h"
 
 /** DCA syncwords, also used for bitstream type detection */
 #define DCA_MARKER_RAW_BE 0x7FFE8001
 /** DCA-HD specific block starts with this marker. */
 #define DCA_HD_MARKER     0x64582025
 
-extern const uint32_t ff_dca_sample_rates[16];
+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 */