changeset 5413:25a21f96f863 libavformat

5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it
author kostya
date Thu, 03 Dec 2009 16:13:51 +0000
parents 95bc775d22ff
children 0728f77cd599
files rtmppkt.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)