Ticket #5836: patchrtmpproto64.diff

File patchrtmpproto64.diff, 1.1 KB (added by Carl Eugen Hoyos, 10 years ago)
  • libavformat/rtmpproto.c

    diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
    index b118b4e..5d7ad79 100644
    a b typedef struct RTMPContext {  
    9494    int           flv_nb_packets;             ///< number of flv packets published
    9595    RTMPPacket    out_pkt;                    ///< rtmp packet, created from flv a/v or metadata (for output)
    9696    uint32_t      client_report_size;         ///< number of bytes after which client should report to server
    97     uint32_t      bytes_read;                 ///< number of bytes read from server
    98     uint32_t      last_bytes_read;            ///< number of bytes read last reported to server
     97    uint64_t      bytes_read;                 ///< number of bytes read from server
     98    uint64_t      last_bytes_read;            ///< number of bytes read last reported to server
    9999    uint32_t      last_timestamp;             ///< last timestamp received in a packet
    100100    int           skip_bytes;                 ///< number of bytes to skip from the input FLV stream in the next write call
    101101    int           has_audio;                  ///< presence of audio data