[FFmpeg-cvslog] rtmppkt: Add a descriptive comment
Martin Panter
git at videolan.org
Fri Mar 7 13:10:05 CET 2014
ffmpeg | branch: master | Martin Panter <vadmium at gmail.com> | Wed Mar 5 16:00:44 2014 +0200| [48cfb5f4114048383a4ee85b2f500eefce24cad2] | committer: Martin Storsjö
rtmppkt: Add a descriptive comment
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=48cfb5f4114048383a4ee85b2f500eefce24cad2
---
libavformat/rtmppkt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 {
More information about the ffmpeg-cvslog
mailing list