From 8de1ee9f725aa3c550f425bd3120bcd95d5b2ea8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 7 Oct 2015 15:51:11 +0200 Subject: 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. --- libavformat/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/version.h') 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 */ -- cgit v1.2.3