rtmppkt: Add a descriptive comment
authorMartin Panter <vadmium@gmail.com>
Wed, 5 Mar 2014 14:00:44 +0000 (16:00 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 7 Mar 2014 08:43:37 +0000 (10:43 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmppkt.c

index fb3726b..a8432c8 100644 (file)
@@ -194,7 +194,7 @@ static int rtmp_packet_read_one_chunk(URLContext *h, RTMPPacket *p,
     type  = prev_pkt[channel_id].type;
     extra = prev_pkt[channel_id].extra;
 
-    hdr >>= 6;
+    hdr >>= 6; // header size indicator
     if (hdr == RTMP_PS_ONEBYTE) {
         ts_field = prev_pkt[channel_id].ts_delta;
     } else {