changeset 20876:0587328d9392

Move sh_sub_t to stheader.h, where all the other sh structs are defined
author reimar
date Mon, 13 Nov 2006 18:38:29 +0000
parents ced1aa7b9e3d
children 80f8846c7df0
files libmpdemux/demuxer.h libmpdemux/stheader.h
diffstat 2 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.h	Mon Nov 13 16:49:32 2006 +0000
+++ b/libmpdemux/demuxer.h	Mon Nov 13 18:38:29 2006 +0000
@@ -127,20 +127,6 @@
   char *copyright;
 } demuxer_info_t;
 
-typedef struct {
-  int sid;
-  char type;                    // t = text, v = VobSub, a = SSA/ASS
-  int has_palette;              // If we have a valid palette
-  unsigned int palette[16];     // for VobSubs
-  int width, height;            // for VobSubs
-  int custom_colors;
-  unsigned int colors[4];
-  int forced_subs_only;
-#ifdef USE_ASS
-  ass_track_t* ass_track;  // for SSA/ASS streams (type == 'a')
-#endif
-} sh_sub_t;
-
 #define MAX_A_STREAMS 256
 #define MAX_V_STREAMS 256
 #define MAX_S_STREAMS 32
--- a/libmpdemux/stheader.h	Mon Nov 13 16:49:32 2006 +0000
+++ b/libmpdemux/stheader.h	Mon Nov 13 18:38:29 2006 +0000
@@ -90,6 +90,20 @@
   void* context;   // codec-specific stuff (usually HANDLE or struct pointer)
 } sh_video_t;
 
+typedef struct {
+  int sid;
+  char type;                    // t = text, v = VobSub, a = SSA/ASS
+  int has_palette;              // If we have a valid palette
+  unsigned int palette[16];     // for VobSubs
+  int width, height;            // for VobSubs
+  int custom_colors;
+  unsigned int colors[4];
+  int forced_subs_only;
+#ifdef USE_ASS
+  ass_track_t* ass_track;  // for SSA/ASS streams (type == 'a')
+#endif
+} sh_sub_t;
+
 // demuxer.c:
 #define new_sh_audio(d, i) new_sh_audio_aid(d, i, i)
 sh_audio_t* new_sh_audio_aid(demuxer_t *demuxer,int id,int aid);