Revision e6b244a3 libavformat/rtmppkt.c

View differences:

libavformat/rtmppkt.c
116 116
                return AVERROR(EIO);
117 117
            timestamp = AV_RB32(buf);
118 118
        }
119
        if (hdr != RTMP_PS_TWELVEBYTES)
120
            timestamp += prev_pkt[channel_id].timestamp;
119 121
    }
120 122
    if (ff_rtmp_packet_create(p, channel_id, type, timestamp, data_size))
121 123
        return -1;

Also available in: Unified diff