diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-18 12:08:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-18 12:09:06 +0200 |
commit | 4131a3cb58d93435acdbeda82957e42fcab41e07 (patch) | |
tree | 2886a8dc36e324285b10196a417e6270cd1271aa /libavformat/rtmppkt.h | |
parent | 46cc498b77bcb058823687fc98fa6beb290324c0 (diff) | |
parent | 8583b14252deac71136f1dec231910abab0ba503 (diff) | |
download | ffmpeg-4131a3cb58d93435acdbeda82957e42fcab41e07.tar.gz |
Merge commit '8583b14252deac71136f1dec231910abab0ba503'
* commit '8583b14252deac71136f1dec231910abab0ba503':
rtmp: Support reading interleaved chunks.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtmppkt.h')
-rw-r--r-- | libavformat/rtmppkt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/rtmppkt.h b/libavformat/rtmppkt.h index 96ca1b68e8..e9c7ea7e65 100644 --- a/libavformat/rtmppkt.h +++ b/libavformat/rtmppkt.h @@ -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; /** |