Mercurial > libavformat.hg
diff nut.h @ 3045:f4c7d2d8acbb libavformat
Elision header demuxing support.
author | michael |
---|---|
date | Fri, 15 Feb 2008 02:36:09 +0000 |
parents | 55389742397f |
children | 88e032ac11e7 |
line wrap: on
line diff
--- a/nut.h Wed Feb 13 20:17:28 2008 +0000 +++ b/nut.h Fri Feb 15 02:36:09 2008 +0000 @@ -66,6 +66,7 @@ uint16_t size_lsb; int16_t pts_delta; uint8_t reserved_count; + uint8_t header_idx; } FrameCode; // maybe s/FrameCode/framecode_t/ or change all to Java style but do not mix typedef struct { @@ -84,6 +85,8 @@ // int written_packet_size; // int64_t packet_start; FrameCode frame_code[256]; + uint8_t header_len[128]; + const uint8_t *header[128]; uint64_t next_startcode; ///< stores the next startcode if it has already been parsed but the stream is not seekable StreamContext *stream; unsigned int max_distance;