diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-18 12:36:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-19 07:14:24 +0200 |
commit | a312f71090ee620ee252f2034aef6b13e2dafe9c (patch) | |
tree | 89103751cc4280ac69b74e136de13c2df0b84858 /libavformat/avformat.h | |
parent | ed7922faac4ea4c893efc3cdf8102ebc49fcc011 (diff) | |
download | ffmpeg-a312f71090ee620ee252f2034aef6b13e2dafe9c.tar.gz |
lavf: deprecate now unused AVStream.pts
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 55f24e6e3e..5ed50f448b 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -366,6 +366,7 @@ int av_get_packet(AVIOContext *s, AVPacket *pkt, int size); */ int av_append_packet(AVIOContext *s, AVPacket *pkt, int size); +#if FF_API_LAVF_FRAC /*************************************************/ /* fractional numbers for exact pts handling */ @@ -376,6 +377,7 @@ int av_append_packet(AVIOContext *s, AVPacket *pkt, int size); typedef struct AVFrac { int64_t val, num, den; } AVFrac; +#endif /*************************************************/ /* input/output formats */ @@ -695,10 +697,13 @@ typedef struct AVStream { AVCodecContext *codec; void *priv_data; +#if FF_API_LAVF_FRAC /** - * encoding: pts generation when outputting stream + * @deprecated this field is unused */ + attribute_deprecated struct AVFrac pts; +#endif /** * This is the fundamental unit of time (in seconds) in terms |