[SCM] libav/experimental: 5l trocadero: RTMP channel ID lies in range 3-65599, uint8_t is too small for it

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:55:25 UTC 2013


The following commit has been merged in the experimental branch:
commit 6a63e83afcfd07b09dd3ffedba1fe65d972e5ac4
Author: Kostya Shishkov <kostya.shishkov at gmail.com>
Date:   Thu Dec 3 16:13:51 2009 +0000

    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

diff --git a/libavformat/rtmppkt.h b/libavformat/rtmppkt.h
index 8be5907..df1dd05 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)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list