summaryrefslogtreecommitdiff
path: root/libavformat/spdif.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/spdif.h')
-rw-r--r--libavformat/spdif.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/spdif.h b/libavformat/spdif.h
index 4b11de20d1..0a0d962ba4 100644
--- a/libavformat/spdif.h
+++ b/libavformat/spdif.h
@@ -23,6 +23,7 @@
#define AVFORMAT_SPDIF_H
#include <stdint.h>
+#include "avformat.h"
#define SYNCWORD1 0xF872
#define SYNCWORD2 0x4E1F
@@ -58,5 +59,7 @@ static const uint16_t spdif_mpeg_pkt_offset[2][3] = {
};
void ff_spdif_bswap_buf16(uint16_t *dst, const uint16_t *src, int w);
+int ff_spdif_read_packet(AVFormatContext *s, AVPacket *pkt);
+int ff_spdif_probe(const uint8_t *p_buf, int buf_size, enum AVCodecID *codec);
#endif /* AVFORMAT_SPDIF_H */