aboutsummaryrefslogtreecommitdiff
path: root/libavformat/rtmpproto.c
diff options
context:
space:
mode:
authorMichael Niedermayer2013-09-18 11:08:43 +0200
committerMichael Niedermayer2013-09-18 11:09:31 +0200
commitc1840cbdbe8c2b91ef0f7b7c50217ca9e4f6ac1a (patch)
tree386c35ecaa8b70f74b2612b2dd874e644044c77b /libavformat/rtmpproto.c
parente81411e88e1c6614099c7478b4382523601d0740 (diff)
parentdc4acc820076b2149ef6c921bdabe05d07ca1bc6 (diff)
Merge commit 'dc4acc820076b2149ef6c921bdabe05d07ca1bc6'
* commit 'dc4acc820076b2149ef6c921bdabe05d07ca1bc6': rtmpproto: Extend a comment to explain the prev_pkt arrays roles Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index eaed3ea50f..edc433fd2a 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -76,7 +76,7 @@ typedef struct TrackedMethod {
typedef struct RTMPContext {
const AVClass *class;
URLContext* stream; ///< TCP stream used in interactions with RTMP server
- RTMPPacket prev_pkt[2][RTMP_CHANNELS]; ///< packet history used when reading and sending packets
+ RTMPPacket prev_pkt[2][RTMP_CHANNELS]; ///< packet history used when reading and sending packets ([0] for reading, [1] for writing)
int in_chunk_size; ///< size of the chunks incoming RTMP packets are divided into
int out_chunk_size; ///< size of the chunks outgoing RTMP packets are divided into
int is_input; ///< input/output flag