diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-23 00:27:17 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-07-23 00:27:17 +0000 |
commit | ef011e6d58e4af9a715d95c48a2f9d6f7d35591a (patch) | |
tree | 1fdf5b7aab1a3567657ddb53c8f17ba5d1d9540c /libavformat | |
parent | c25c7767085297e4f6bf4171391b615b5bddc281 (diff) | |
download | ffmpeg-ef011e6d58e4af9a715d95c48a2f9d6f7d35591a.tar.gz |
In mpegts muxer, fix rbsp trailing bits in AUD nal, fixes issue #2122
Originally committed as revision 24449 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegtsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 4bd48d3927..ac09ab93d5 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -846,7 +846,7 @@ static int mpegts_write_packet(AVFormatContext *s, AVPacket *pkt) 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; } |