summaryrefslogtreecommitdiffstats
path: root/aviheader.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-11 20:37:33 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-11 20:37:33 +0000
commit610912b8b54129d84685247c1fd03346a7c71260 (patch)
tree8a06f15745ef39d4b2ebe093fd0183cecfa5d8db /aviheader.h
parent5a0968079511913417e54a0aaf11ef60aa0e01fa (diff)
downloadmpv-610912b8b54129d84685247c1fd03346a7c71260.tar.bz2
mpv-610912b8b54129d84685247c1fd03346a7c71260.tar.xz
AVI demuxer cleanups, fileformat-dependent stuff moved to priv_t
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1486 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'aviheader.h')
-rw-r--r--aviheader.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/aviheader.h b/aviheader.h
index 9f234911c2..d3d129b691 100644
--- a/aviheader.h
+++ b/aviheader.h
@@ -1,7 +1,7 @@
#ifndef _aviheader_h
#define _aviheader_h
-#include "config.h" /* get correct definition WORDS_BIGENDIAN */
+//#include "config.h" /* get correct definition WORDS_BIGENDIAN */
#include "bswap.h"
/*
@@ -83,3 +83,24 @@
#endif
+
+
+typedef struct {
+ // index stuff:
+ void* idx;
+ int idx_size;
+ int idx_pos;
+ int idx_pos_a;
+ int idx_pos_v;
+ int idx_offset; // ennyit kell hozzaadni az index offset ertekekhez
+ // interleaved PTS stuff:
+ int skip_video_frames;
+ float avi_audio_pts;
+ float avi_video_pts;
+ float pts_correction;
+ unsigned int pts_corr_bytes;
+ unsigned char pts_corrected;
+ unsigned char pts_has_video;
+} avi_priv_t;
+
+#define AVI_PRIV ((avi_priv_t*)(demuxer->priv))