Browse Source

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

Originally committed as revision 20717 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Kostya Shishkov 15 years ago
parent
commit
6a63e83afc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/rtmppkt.h

+ 1
- 1
libavformat/rtmppkt.h View File

@@ -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)


Loading…
Cancel
Save