Revision b7f2fdde libavformat/rtpenc.c
libavformat/rtpenc.c | ||
---|---|---|
206 | 206 |
avio_wb32(s1->pb, rtp_ts); |
207 | 207 |
avio_wb32(s1->pb, s->packet_count); |
208 | 208 |
avio_wb32(s1->pb, s->octet_count); |
209 |
put_flush_packet(s1->pb);
|
|
209 |
avio_flush(s1->pb);
|
|
210 | 210 |
} |
211 | 211 |
|
212 | 212 |
/* send an rtp packet. sequence number is incremented, but the caller |
... | ... | |
225 | 225 |
avio_wb32(s1->pb, s->ssrc); |
226 | 226 |
|
227 | 227 |
avio_write(s1->pb, buf1, len); |
228 |
put_flush_packet(s1->pb);
|
|
228 |
avio_flush(s1->pb);
|
|
229 | 229 |
|
230 | 230 |
s->seq++; |
231 | 231 |
s->octet_count += len; |
Also available in: Unified diff