aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/voc.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2006-11-21 13:08:04 +0000
committerAurelien Jacobs <aurel@gnuage.org>2006-11-21 13:08:04 +0000
commit5d244b2932c612932107ca3578ca156463a02fa9 (patch)
tree319affea7823b120ce6b5d75d3ae724ed3dfeab4 /libavformat/voc.h
parent8cc622648b2c0b07671d230465a08e119e856124 (diff)
downloadffmpeg-5d244b2932c612932107ca3578ca156463a02fa9.tar.gz
split voc.c into vocdec.c and vocenc.c
Originally committed as revision 7145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/voc.h')
-rw-r--r--libavformat/voc.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libavformat/voc.h b/libavformat/voc.h
index 71bd035212..a709765d96 100644
--- a/libavformat/voc.h
+++ b/libavformat/voc.h
@@ -28,6 +28,20 @@ typedef struct voc_dec_context {
int remaining_size;
} voc_dec_context_t;
+typedef enum voc_type {
+ VOC_TYPE_EOF = 0x00,
+ VOC_TYPE_VOICE_DATA = 0x01,
+ VOC_TYPE_VOICE_DATA_CONT = 0x02,
+ VOC_TYPE_SILENCE = 0x03,
+ VOC_TYPE_MARKER = 0x04,
+ VOC_TYPE_ASCII = 0x05,
+ VOC_TYPE_REPETITION_START = 0x06,
+ VOC_TYPE_REPETITION_END = 0x07,
+ VOC_TYPE_EXTENDED = 0x08,
+ VOC_TYPE_NEW_VOICE_DATA = 0x09,
+} voc_type_t;
+
+
int voc_get_packet(AVFormatContext *s, AVPacket *pkt,
AVStream *st, int max_size);