summaryrefslogtreecommitdiff
path: root/libavformat/nut.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-15 02:36:09 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-15 02:36:09 +0000
commit3b4f69ae8ceac45dd815d26e17d83a7dda4c4057 (patch)
treefd212df3a660b618c5ff760e3d192ddacdda1fa1 /libavformat/nut.h
parent880add3743cebb080d82591aa77f43caa1740bc0 (diff)
Elision header demuxing support.
Originally committed as revision 11935 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r--libavformat/nut.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h
index 6ba07f7b1a..9439146035 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -66,6 +66,7 @@ typedef struct {
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 @@ typedef struct {
// 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;