diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-08-08 16:43:47 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2002-08-08 16:43:47 +0000 |
commit | 2a10020bf332cff4af7e45cdded84728ac593361 (patch) | |
tree | 9634132c5cf2b4c82fa7447bac9345701988a28f /libav/avformat.h | |
parent | 47ceabc9599a7915dbfdcb910d004fa5a4895665 (diff) | |
download | ffmpeg-2a10020bf332cff4af7e45cdded84728ac593361.tar.gz |
* ok - let's start with avifile->ffmpeg morphing
for the begining it's major rewrite of asf parsing code
(tested only inside avifile at this moment)
it handles descrambling (though without WMA it's probably
useless inside ffmpeg...
* extended AVStream structure to return information about
stream time length
* extended AVStream to export extra data found after standard
headers - not really usefull for ffmpeg - but Windows codecs
need them.
* asf parsing is not yet finished but works nicely already
(at 100% better them before :))
Originally committed as revision 846 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/avformat.h')
-rw-r--r-- | libav/avformat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libav/avformat.h b/libav/avformat.h index 4a814e62a9..20a3cabbd8 100644 --- a/libav/avformat.h +++ b/libav/avformat.h @@ -3,7 +3,7 @@ #define LIBAVFORMAT_VERSION_INT 0x000406 #define LIBAVFORMAT_VERSION "0.4.6" -#define LIBAVFORMAT_BUILD 4601 +#define LIBAVFORMAT_BUILD 4602 #include "avcodec.h" @@ -121,6 +121,9 @@ typedef struct AVStream { int id; /* format specific stream id */ AVCodecContext codec; /* codec context */ int r_frame_rate; /* real frame rate of the stream */ + uint64_t time_length; /* real length of the stream in miliseconds */ + void* extra_data; /* some extra data - i.e. longer WAVEFORMATEX */ + int extra_data_size; /* size of extra data chunk */ void *priv_data; /* internal data used in av_find_stream_info() */ int codec_info_state; |