[FFmpeg-devel] [PATCH] avcodec/dca_parser: Extend DTS core sync word and fix existing check

Michael Niedermayer michaelni at gmx.at
Wed Apr 29 17:20:20 CEST 2015


On Wed, Apr 29, 2015 at 02:14:55PM +0300, foo86 wrote:
> 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.
> ---
>  libavcodec/dca_parser.c | 42 +++++++++++++++++++++++++-----------------
>  1 file changed, 25 insertions(+), 17 deletions(-)

applied

should i backport this to the previous releases ?

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150429/dde82be1/attachment.asc>


More information about the ffmpeg-devel mailing list