[FFmpeg-cvslog] r20717 - trunk/libavformat/rtmppkt.h

kostya subversion
Thu Dec 3 17:13:51 CET 2009


Author: kostya
Date: Thu Dec  3 17:13:51 2009
New Revision: 20717

Log:
5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it

Modified:
   trunk/libavformat/rtmppkt.h

Modified: trunk/libavformat/rtmppkt.h
==============================================================================
--- trunk/libavformat/rtmppkt.h	Thu Dec  3 16:59:51 2009	(r20716)
+++ trunk/libavformat/rtmppkt.h	Thu Dec  3 17:13:51 2009	(r20717)
@@ -73,7 +73,7 @@ enum RTMPPacketSize {
  * 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)



More information about the ffmpeg-cvslog mailing list