[FFmpeg-devel] [PATCH 06/10] avcodec/dca_parser: improve frame end search
jamrial at gmail.com
Fri May 20 21:46:31 CEST 2016
On 5/20/2016 2:40 PM, foo86 wrote:
> 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
>> libavcodec/dca_parser.c | 94 +++++++++++++++++++++++++++++++++++++++++--------
>> 1 file changed, 80 insertions(+), 14 deletions(-)
> Fixes parser failure with the following sample: https://0x0.st/q4G.dts
Seems to happen with codec copy only, two frames were being treated as one.
Decoding doesn't seem affected by this patch. framecrc output looks the same
before and after.
More information about the ffmpeg-devel