add state64 field to ParseContext storing last 8 bytes, to be able to check for longer startcodes
Originally committed as revision 15671 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -34,6 +34,7 @@ typedef struct ParseContext{
|
||||
int frame_start_found;
|
||||
int overread; ///< the number of bytes which where irreversibly read from the next frame
|
||||
int overread_index; ///< the index into ParseContext.buffer of the overread bytes
|
||||
uint64_t state64; ///< contains the last 8 bytes in MSB order
|
||||
} ParseContext;
|
||||
|
||||
struct MpegEncContext;
|
||||
|
||||
Reference in New Issue
Block a user