Merge commit '8583b14252deac71136f1dec231910abab0ba503'
[ffmpeg.git] / libavformat / rtmppkt.h
index 96ca1b6..e9c7ea7 100644 (file)
@@ -82,6 +82,8 @@ typedef struct RTMPPacket {
     uint32_t       extra;      ///< probably an additional channel ID used during streaming data
     uint8_t        *data;      ///< packet payload
     int            size;       ///< packet payload size
+    int            offset;     ///< amount of data read so far
+    int            read;       ///< amount read, including headers
 } RTMPPacket;
 
 /**