[FFmpeg-cvslog] rtmpproto: Extend a comment to explain the prev_pkt arrays roles

Martin Storsjö git at videolan.org
Wed Sep 18 11:14:27 CEST 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Sep 17 17:43:48 2013 +0300| [dc4acc820076b2149ef6c921bdabe05d07ca1bc6] | committer: Martin Storsjö

rtmpproto: Extend a comment to explain the prev_pkt arrays roles

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc4acc820076b2149ef6c921bdabe05d07ca1bc6
---

 libavformat/rtmpproto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 1aff0c8..ab30b19 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



More information about the ffmpeg-cvslog mailing list