mirror of https://github.com/FFmpeg/FFmpeg.git
When tak_get_nb_samples() fails, it will currently write AVERROR_INVALIDDATA as TAKStreamInfo.frame_samples. The parser will then use this negative value as a frame duration, which leads to various breakage. Avoid this by returning the error code from tak_parse_streaminfo() directly; never store negative values in the parsed header.pull/389/head
parent
ecdf1ac267
commit
a59b4ac713
1 changed files with 13 additions and 7 deletions
Loading…
Reference in new issue