Mercurial > libavformat.hg
changeset 827:d064b7d0899d libavformat
mpeg1video m bit fix by (Luca Abeni: lucabe72, email it)
author | michael |
---|---|
date | Sat, 23 Jul 2005 21:52:41 +0000 |
parents | ee7ba4017c8d |
children | a5af9ba25343 |
files | rtp.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rtp.c Sat Jul 23 21:48:58 2005 +0000 +++ b/rtp.c Sat Jul 23 21:52:41 2005 +0000 @@ -738,7 +738,7 @@ /* 90 KHz time stamp */ s->timestamp = s->base_timestamp + av_rescale((int64_t)s->cur_timestamp * st->codec->time_base.num, 90000, st->codec->time_base.den); //FIXME pass timestamps - rtp_send_data(s1, s->buf, q - s->buf, 0); + rtp_send_data(s1, s->buf, q - s->buf, (len == size)); buf1 += len; size -= len;