[SCM] libav/experimental: rtmppkt: Add a descriptive comment

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:01:50 UTC 2014


The following commit has been merged in the experimental branch:
commit 48cfb5f4114048383a4ee85b2f500eefce24cad2
Author: Martin Panter <vadmium at gmail.com>
Date:   Wed Mar 5 16:00:44 2014 +0200

    rtmppkt: Add a descriptive comment
    
    Signed-off-by: Martin Storsjö <martin at martin.st>

diff --git a/libavformat/rtmppkt.c b/libavformat/rtmppkt.c
index fb3726b..a8432c8 100644
--- a/libavformat/rtmppkt.c
+++ b/libavformat/rtmppkt.c
@@ -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 {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list