gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/rtmp r10107: there is no type field for si


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r10107: there is no type field for single byte headers, so we can't print it.
Date: Sun, 05 Apr 2009 15:19:54 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10107
committer: address@hidden
branch nick: rtmp
timestamp: Sun 2009-04-05 15:19:54 -0600
message:
  there is no type field for single byte headers, so we can't print it.
modified:
  libnet/rtmp.cpp
=== modified file 'libnet/rtmp.cpp'
--- a/libnet/rtmp.cpp   2009-04-02 14:55:15 +0000
+++ b/libnet/rtmp.cpp   2009-04-05 21:19:54 +0000
@@ -324,7 +324,8 @@
     }
 
     log_debug("RTMP %s: channel: %d, header_size %d, bodysize: %d",
-             content_str[head->type], head->channel, head->head_size, 
head->bodysize);
+             ((head->head_size == 1) ? "same" : content_str[head->type]),
+             head->channel, head->head_size, head->bodysize);
 
     if (head->head_size == 12) {
         head->src_dest = *(reinterpret_cast<RTMPMsg::rtmp_source_e *>(tmpptr));


reply via email to

[Prev in Thread] Current Thread [Next in Thread]