[FFmpeg-devel] [PATCH 06/10] avcodec/dca_parser: improve frame end search

foo86 foobaz86 at gmail.com
Fri May 20 19:40:53 CEST 2016


On Fri, May 13, 2016 at 12:48:28PM +0300, foo86 wrote:
> Parse core frame size directly when searching for frame end instead of
> using value extracted from previous frame.
> 
> Account for unused bits when calculating sync word distance for 14-bit
> streams to avoid alias sync detection.
> 
> Parse EXSS frame size and skip over EXSS frame to avoid alias sync
> detection.
> ---
>  libavcodec/dca_parser.c | 94 +++++++++++++++++++++++++++++++++++++++++--------
>  1 file changed, 80 insertions(+), 14 deletions(-)

Fixes parser failure with the following sample: https://0x0.st/q4G.dts


More information about the ffmpeg-devel mailing list