Mercurial > libavcodec.hg
comparison parser.h @ 8044:8c1e1047ec78 libavcodec
add state64 field to ParseContext storing last 8 bytes, to be able to check for longer startcodes
author | bcoudurier |
---|---|
date | Thu, 23 Oct 2008 17:12:41 +0000 |
parents | c4a4495715dd |
children | 04423b2f6e0b |
comparison
equal
deleted
inserted
replaced
8043:a591c3736fd8 | 8044:8c1e1047ec78 |
---|---|
32 unsigned int buffer_size; | 32 unsigned int buffer_size; |
33 uint32_t state; ///< contains the last few bytes in MSB order | 33 uint32_t state; ///< contains the last few bytes in MSB order |
34 int frame_start_found; | 34 int frame_start_found; |
35 int overread; ///< the number of bytes which where irreversibly read from the next frame | 35 int overread; ///< the number of bytes which where irreversibly read from the next frame |
36 int overread_index; ///< the index into ParseContext.buffer of the overread bytes | 36 int overread_index; ///< the index into ParseContext.buffer of the overread bytes |
37 uint64_t state64; ///< contains the last 8 bytes in MSB order | |
37 } ParseContext; | 38 } ParseContext; |
38 | 39 |
39 struct MpegEncContext; | 40 struct MpegEncContext; |
40 | 41 |
41 typedef struct ParseContext1{ | 42 typedef struct ParseContext1{ |