diff 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
line wrap: on
line diff
--- a/parser.h	Thu Oct 23 07:30:16 2008 +0000
+++ b/parser.h	Thu Oct 23 17:12:41 2008 +0000
@@ -34,6 +34,7 @@
     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;