aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-03-04 16:11:08 +0100
committerJames Almer <jamrial@gmail.com>2024-03-07 08:53:32 -0300
commit0757669629cd508af032c22ce540a6136c3589f1 (patch)
tree37bff1f287996ccd59496ab5372f8a0688831d07 /libavcodec/avcodec.h
parentc8db1006ef5cb0f40f485fe6ce255892d8af5eb3 (diff)
downloadffmpeg-0757669629cd508af032c22ce540a6136c3589f1.tar.gz
lavc: move AVCodecContext.pts_correction* to DecodeContext
These fields are documented to be non-public and are only used in decode.c
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index be6aff901e..fb0612ed26 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1860,16 +1860,6 @@ typedef struct AVCodecContext {
*/
const struct AVCodecDescriptor *codec_descriptor;
- /*
- * Current statistics for PTS correction.
- * - decoding: maintained and used by libavcodec, not intended to be used by user apps
- * - encoding: unused
- */
- int64_t pts_correction_num_faulty_pts; ///< Number of incorrect PTS values so far
- int64_t pts_correction_num_faulty_dts; ///< Number of incorrect DTS values so far
- int64_t pts_correction_last_pts; ///< PTS of the last frame
- int64_t pts_correction_last_dts; ///< DTS of the last frame
-
/**
* Character encoding of the input subtitles file.
* - decoding: set by user