# HG changeset patch # User bcoudurier # Date 1279844837 0 # Node ID 50b1c5de4b710ed78733e2071b3e790d6d7f6cd9 # Parent af30d878f7d7625f93a1941d3b5c28ece5061128 In mpegts muxer, fix rbsp trailing bits in AUD nal, fixes issue #2122 diff -r af30d878f7d7 -r 50b1c5de4b71 mpegtsenc.c --- a/mpegtsenc.c Wed Jul 21 21:41:46 2010 +0000 +++ b/mpegtsenc.c Fri Jul 23 00:27:17 2010 +0000 @@ -846,7 +846,7 @@ 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; }