diff options
author | wangxingchao <[email protected]> | 2013-11-15 15:42:46 +0800 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2013-11-16 02:02:51 +0100 |
commit | 68900bf16bb4dda35cf5f2801ce72c15056f1939 (patch) | |
tree | d9fd867ec3f2299a99f0133b3ca7e4a7f06b4d5d /libavformat/mpegvideodec.c | |
parent | 8cc59ec881b8706fb3036a2a83f7ededa468dedb (diff) |
avcodec: Fix duration error after seek operation
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavformat/mpegvideodec.c')
0 files changed, 0 insertions, 0 deletions