[Ffmpeg-cvslog] CVS: ffmpeg/libavformat rtp.c,1.20,1.21

Michael Niedermayer CVS michael
Sat Jul 23 23:52:44 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavformat
In directory mail:/var2/tmp/cvs-serv1318

Modified Files:
	rtp.c 
Log Message:
mpeg1video m bit fix by (Luca Abeni: lucabe72, email it)


Index: rtp.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/rtp.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- rtp.c	23 Jul 2005 21:48:58 -0000	1.20
+++ rtp.c	23 Jul 2005 21:52:41 -0000	1.21
@@ -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;





More information about the ffmpeg-cvslog mailing list