aboutsummaryrefslogtreecommitdiffstats
path: root/doc/git-howto.texi
diff options
context:
space:
mode:
authorFrank Plowman <post@frankplowman.com>2024-01-26 16:20:43 +0000
committerJames Almer <jamrial@gmail.com>2024-01-27 11:29:40 -0300
commit0c517fcbe8ee864c8390dd08696ec63621a4f3e0 (patch)
treecb036ec4447410707b703a4274f25ecaec0c776c /doc/git-howto.texi
parentbab7f91c36ab0386f269d8fd4787dbf5dbbcb01d (diff)
downloadffmpeg-0c517fcbe8ee864c8390dd08696ec63621a4f3e0.tar.gz
lavc/vvc: Fix emulation prevention byte handling
nal->skipped_bytes_pos contains the positions of errors relative to the start of the slice header, whereas the position they were tested against is relative to the start of the slice data, i.e. one byte after the end of the slice header. Patch fixes this by storing the size of the slice header in H266RawSlice and adding it to the position given by the GetBitContext before comparing to skipped_bytes_pos. This fixes AVERROR_INVALIDDATAs for various valid bitstreams, such as the LMCS_B_Dolby_2 conformance bitstream. Signed-off-by: Frank Plowman <post@frankplowman.com>
Diffstat (limited to 'doc/git-howto.texi')
0 files changed, 0 insertions, 0 deletions