changeset 4944:4c1e9b3799a4 libavformat

Fix the M bit for multi-packet NALs. Patch by Yao Peter (peter AT yuvad DOT com)
author lucabe
date Sat, 16 May 2009 17:11:47 +0000
parents 6fd474401f0c
children cd7e342cfaf7
files rtpenc_h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtpenc_h264.c	Sat May 16 15:09:30 2009 +0000
+++ b/rtpenc_h264.c	Sat May 16 17:11:47 2009 +0000
@@ -56,7 +56,7 @@
         }
         s->buf[1] |= 1 << 6;
         memcpy(&s->buf[2], buf, size);
-        ff_rtp_send_data(s1, s->buf, size + 2, 1);
+        ff_rtp_send_data(s1, s->buf, size + 2, last);
     }
 }