Commit cf32c7e8 authored by kostya's avatar kostya

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20717 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 23b799b7
...@@ -73,7 +73,7 @@ enum RTMPPacketSize { ...@@ -73,7 +73,7 @@ enum RTMPPacketSize {
* structure for holding RTMP packets * structure for holding RTMP packets
*/ */
typedef struct RTMPPacket { 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 RTMPPacketType type; ///< packet payload type
uint32_t timestamp; ///< packet full timestamp uint32_t timestamp; ///< packet full timestamp
uint32_t ts_delta; ///< timestamp increment to the previous one in milliseconds (latter only for media packets) uint32_t ts_delta; ///< timestamp increment to the previous one in milliseconds (latter only for media packets)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment