mirror of https://github.com/FFmpeg/FFmpeg.git
After seek, s->duration need recalculation, AVCodecParserContext need be set again. Without the fix, the first audio packet would be dropped after compute_pkt_fields() as the final pts/dts become invalid. Signed-off-by: wangxingchao <wangxingchao@xiaomi.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>pull/48/head
parent
8cc59ec881
commit
68900bf16b
1 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue