diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-10-07 15:51:11 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-11-09 07:50:55 +0100 |
commit | 8de1ee9f725aa3c550f425bd3120bcd95d5b2ea8 (patch) | |
tree | 02713fb01e304fd76208ab4e5934eb72a5ef4db5 /libavformat/version.h | |
parent | aeda1121c91395d1f0d434bc7f227423aa2ff97d (diff) |
lavf: deprecate compute_pkt_fields2
All encoders set pts and dts properly now (and have been doing that for
a while), so there is no good reason to do any timestamp guessing in the
muxer.
The newly added AVStreamInternal will be later used for storing all the
private fields currently living in AVStream.
Diffstat (limited to 'libavformat/version.h')
-rw-r--r-- | libavformat/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/version.h b/libavformat/version.h index d74968aa53..d004a55ad2 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -60,5 +60,8 @@ #ifndef FF_API_LAVF_FMT_RAWPICTURE #define FF_API_LAVF_FMT_RAWPICTURE (LIBAVFORMAT_VERSION_MAJOR < 58) #endif +#ifndef FF_API_COMPUTE_PKT_FIELDS2 +#define FF_API_COMPUTE_PKT_FIELDS2 (LIBAVFORMAT_VERSION_MAJOR < 58) +#endif #endif /* AVFORMAT_VERSION_H */ |