Skip to content
Snippets Groups Projects
Commit e80b2b9c authored by foo86's avatar foo86 Committed by Michael Niedermayer
Browse files

avcodec/dca_parser: Extend DTS core sync word and fix existing check


Check extended sync word for 16-bit LE and BE core streams to reduce
probability of alias sync detection. Previously sync word extension was
checked only for 14-bit streams (and this check did not properly work
across buffer boundary).

Use 64-bit parser state to make extended sync word detection work across
buffer boundary.

This is sufficient to make the sample in ticket #4492 parse
successfully.

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 50e46b7f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment