aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2021-09-21 22:30:55 +0200
committerMarton Balint <cus@passwd.hu>2021-10-10 16:54:15 +0200
commit9420f7e09560d82ebdb96ddc6724a734f4fe0b95 (patch)
tree7efe02e0f5027bd194b44579199800fc28b64a6b /libavutil
parentaeea2ad0e4501a05ac4ada0c9b88e116135439eb (diff)
downloadffmpeg-9420f7e09560d82ebdb96ddc6724a734f4fe0b95.tar.gz
avformat/mpegts: fix max_packet_size in mpegts payload parsing
The maximum allowed useful PES payload data was set to PES_packet_length, but it is in fact smaller by the length of the PES header. This changes how corrupt streams are packetized: - If PES header length is bigger than PES_packet_length then the PES packet payload will be handled as an unbound packet - PES packets with payload across multiple MPEGTS packets will always be splitted if with the next chunk of data the payload should exceed PES_packet_length, previously a PES_header_length amount of excess was allowed. Fixes ticket #9355. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions