mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
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
This commit is contained in:
parent
c25c776708
commit
ef011e6d58
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue