summaryrefslogtreecommitdiff
path: root/libavformat/rtmppkt.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-12-03 16:13:51 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-12-03 16:13:51 +0000
commit6a63e83afcfd07b09dd3ffedba1fe65d972e5ac4 (patch)
tree8d6c30255d3d1a16e1ce9caaf92d6667cb6d798a /libavformat/rtmppkt.h
parent31da5966341e0803a12e0dbf172c2537cf3cab3d (diff)
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
Diffstat (limited to 'libavformat/rtmppkt.h')
-rw-r--r--libavformat/rtmppkt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmppkt.h b/libavformat/rtmppkt.h
index 8be59078e6..df1dd05525 100644
--- a/libavformat/rtmppkt.h
+++ b/libavformat/rtmppkt.h
@@ -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)