OSDN Git Service

avcodec: add duration field to AVCodecParserContext
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 13 Jan 2012 01:03:17 +0000 (20:03 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 20 Feb 2012 20:08:40 +0000 (15:08 -0500)
commite9cda853511d7c5a8fa16da4f99cf8ead86bf658
tree1bbd4917b41b24a84c3419aab35c511be508233c
parent0b42a9388c98c8669811d4e7e5da7240e6707a41
avcodec: add duration field to AVCodecParserContext

This will allow parsers to export the duration of the current frame being
output, if known, instead of using AVCodecContext.frame_size.
doc/APIchanges
libavcodec/avcodec.h
libavformat/utils.c