[FFmpeg-cvslog] r24449 - trunk/libavformat/mpegtsenc.c

bcoudurier subversion
Fri Jul 23 02:27:18 CEST 2010


Author: bcoudurier
Date: Fri Jul 23 02:27:17 2010
New Revision: 24449

Log:
In mpegts muxer, fix rbsp trailing bits in AUD nal, fixes issue #2122

Modified:
   trunk/libavformat/mpegtsenc.c

Modified: trunk/libavformat/mpegtsenc.c
==============================================================================
--- trunk/libavformat/mpegtsenc.c	Fri Jul 23 02:07:16 2010	(r24448)
+++ trunk/libavformat/mpegtsenc.c	Fri Jul 23 02:27:17 2010	(r24449)
@@ -846,7 +846,7 @@ static int mpegts_write_packet(AVFormatC
             memcpy(data+6, pkt->data, pkt->size);
             AV_WB32(data, 0x00000001);
             data[4] = 0x09;
-            data[5] = 0xe0; // any slice type
+            data[5] = 0xf0; // any slice type (0xe) + rbsp stop one bit
             buf  = data;
             size = pkt->size+6;
         }



More information about the ffmpeg-cvslog mailing list