changeset 1594:dbb3496efe01

new type: DVD
author arpi
date Mon, 20 Aug 2001 20:17:44 +0000
parents 9d405908f878
children 1918610d2802
files stream.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/stream.h	Mon Aug 20 20:14:10 2001 +0000
+++ b/stream.h	Mon Aug 20 20:17:44 2001 +0000
@@ -6,6 +6,7 @@
 #define STREAMTYPE_FILE 0
 #define STREAMTYPE_VCD  1
 #define STREAMTYPE_STREAM 2    // same as FILE but no seeking (for stdin)
+#define STREAMTYPE_DVD  3
 
 #define VCD_SECTOR_SIZE 2352
 #define VCD_SECTOR_OFFS 24
@@ -26,6 +27,7 @@
   unsigned int buf_pos,buf_len;
   off_t start_pos,end_pos;
   unsigned char buffer[STREAM_BUFFER_SIZE>VCD_SECTOR_SIZE?STREAM_BUFFER_SIZE:VCD_SECTOR_SIZE];
+  void* priv; // used for DVD
 } stream_t;
 
 int stream_fill_buffer(stream_t *s);