diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-06-01 14:07:24 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-06-01 15:12:49 +0200 |
commit | 151b4947e5d21c418d5316a6d93b5b03f4be4b86 (patch) | |
tree | 0d76f391e88817e9ece8675e25836a65a7fb5214 /libavformat/siff.c | |
parent | 9054e725296843c28a85bcd978a0ee7fc93de37f (diff) | |
download | ffmpeg-151b4947e5d21c418d5316a6d93b5b03f4be4b86.tar.gz |
lavc/avpacket: fill padding area on side data split.
The padding data is assumed to be 0 in several places, notably in
subtitles. This problem was not detected with fate-sub-srt test because
the first element of the side data (x1) is 0 in the test, so the
trailing side data present in the packet wasn't read by the decoder. The
issue can be observed with a large enough x1.
It is also noted in FF_INPUT_BUFFER_PADDING_SIZE doxy that MPEG
bitstreams require that padding with 0, so it might fix other issues.
Diffstat (limited to 'libavformat/siff.c')
0 files changed, 0 insertions, 0 deletions