summaryrefslogtreecommitdiff
path: root/libavformat/rtp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-07-23 21:52:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-07-23 21:52:41 +0000
commit760fb54f7c31c04c01dd3cb2638380db249bf1fb (patch)
tree80f6c1bf9f3af4b78c8364158165246a6d43ca49 /libavformat/rtp.c
parent003640635a273c6a3663d1e44de6144f5ec23f15 (diff)
mpeg1video m bit fix by (Luca Abeni: lucabe72, email it)
Originally committed as revision 4470 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp.c')
-rw-r--r--libavformat/rtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtp.c b/libavformat/rtp.c
index 9e3dc4adcb..2bd61ca9e9 100644
--- a/libavformat/rtp.c
+++ b/libavformat/rtp.c
@@ -738,7 +738,7 @@ static void rtp_send_mpegvideo(AVFormatContext *s1,
/* 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;