[FFmpeg-cvslog] r18858 - trunk/libavformat/rtpenc_h264.c

lucabe subversion
Sat May 16 19:11:47 CEST 2009


Author: lucabe
Date: Sat May 16 19:11:47 2009
New Revision: 18858

Log:
Fix the M bit for multi-packet NALs.
Patch by Yao Peter (peter AT yuvad DOT com)

Modified:
   trunk/libavformat/rtpenc_h264.c

Modified: trunk/libavformat/rtpenc_h264.c
==============================================================================
--- trunk/libavformat/rtpenc_h264.c	Sat May 16 19:02:44 2009	(r18857)
+++ trunk/libavformat/rtpenc_h264.c	Sat May 16 19:11:47 2009	(r18858)
@@ -56,7 +56,7 @@ static void nal_send(AVFormatContext *s1
         }
         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);
     }
 }
 



More information about the ffmpeg-cvslog mailing list