changeset 30643:81099607ec11

Add names to anonymous structs sh_common, sh_audio, sh_video, sh_sub.
author diego
date Sun, 21 Feb 2010 20:02:50 +0000
parents a972c1a4a012
children 390c8d36d463
files libmpdemux/stheader.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stheader.h	Sun Feb 21 15:48:03 2010 +0000
+++ b/libmpdemux/stheader.h	Sun Feb 21 20:02:50 2010 +0000
@@ -43,11 +43,11 @@
   char* lang; /* track language */ \
   int default_track; \
 
-typedef struct {
+typedef struct sh_common {
   SH_COMMON
 } sh_common_t;
 
-typedef struct {
+typedef struct sh_audio {
   SH_COMMON
   int aid;
   // output format:
@@ -86,7 +86,7 @@
   int pts_bytes; // bytes output by decoder after last known pts
 } sh_audio_t;
 
-typedef struct {
+typedef struct sh_video {
   SH_COMMON
   int vid;
   float timer;		  // absolute time in video stream, since last start/seek
@@ -119,7 +119,7 @@
   void* ImageDesc; // for quicktime codecs
 } sh_video_t;
 
-typedef struct {
+typedef struct sh_sub {
   SH_COMMON
   int sid;
   char type;                    // t = text, v = VobSub, a = SSA/ASS