summaryrefslogtreecommitdiffstats
path: root/demux/stheader.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-15 21:22:41 +0200
committerwm4 <wm4@nowhere>2013-04-20 23:28:25 +0200
commit2adb1aaa5d5e7a8240cab8afba639b768e486fca (patch)
treedf29b68cc353177ce3cffccef71c5f497e418c40 /demux/stheader.h
parentafd8d7f2db68e06fa0a6a609be45573adef2c1de (diff)
downloadmpv-2adb1aaa5d5e7a8240cab8afba639b768e486fca.tar.bz2
mpv-2adb1aaa5d5e7a8240cab8afba639b768e486fca.tar.xz
demux: remove useless vid/aid/sid fields
Only demux_ts.c used sid in one case, replace that by reading the same value from another location.
Diffstat (limited to 'demux/stheader.h')
-rw-r--r--demux/stheader.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/demux/stheader.h b/demux/stheader.h
index 03fdf4d2ea..2fe1ac40c5 100644
--- a/demux/stheader.h
+++ b/demux/stheader.h
@@ -102,7 +102,6 @@ typedef struct sh_common {
typedef struct sh_audio {
SH_COMMON
- int aid;
// output format:
int sample_format;
int samplerate;
@@ -134,7 +133,6 @@ typedef struct sh_audio {
typedef struct sh_video {
SH_COMMON
- int vid;
float timer; // absolute time in video stream, since last start/seek
// frame counters:
float num_frames; // number of frames played
@@ -173,7 +171,6 @@ typedef struct sh_video {
typedef struct sh_sub {
SH_COMMON
- int sid;
char type; // t = text, v = VobSub, a = SSA/ASS, m, x, b, d, p
bool active; // after track switch decoder may stay initialized, not active
unsigned char *extradata; // extra header data passed from demuxer