aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libx264.c
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2015-04-29 14:14:55 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-04-29 17:08:48 +0200
commite80b2b9c81716a5d9f559c04cfe69d76b04e4cd3 (patch)
tree9608d27a140c36bef6601eb8752b75b648d0ead1 /libavcodec/libx264.c
parent50e46b7f0dca4d974f4c092f663bbbcf5f3d5e99 (diff)
downloadffmpeg-e80b2b9c81716a5d9f559c04cfe69d76b04e4cd3.tar.gz
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: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libx264.c')
0 files changed, 0 insertions, 0 deletions