# HG changeset patch # User kostya # Date 1259856831 0 # Node ID 25a21f96f86316d2f95b09e53f0d6746b5232c3e # Parent 95bc775d22ffd7924e1ae548be215074c8125d56 5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it diff -r 95bc775d22ff -r 25a21f96f863 rtmppkt.h --- a/rtmppkt.h Thu Dec 03 15:59:51 2009 +0000 +++ b/rtmppkt.h Thu Dec 03 16:13:51 2009 +0000 @@ -73,7 +73,7 @@ * structure for holding RTMP packets */ typedef struct RTMPPacket { - uint8_t channel_id; ///< RTMP channel ID (nothing to do with audio/video channels though) + int channel_id; ///< RTMP channel ID (nothing to do with audio/video channels though) RTMPPacketType type; ///< packet payload type uint32_t timestamp; ///< packet full timestamp uint32_t ts_delta; ///< timestamp increment to the previous one in milliseconds (latter only for media packets)