From 3f3772e4443c980b65e80859fdaaf3970f6c7fe4 Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 3 Dec 2021 22:43:38 +0100 Subject: [PATCH] packet: add description for the AVPacket.time_base field This description documents the field. Thanks to elenril for suggesting the phrasing. --- libavcodec/packet.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/packet.h b/libavcodec/packet.h index 9baff24635..4a349fe051 100644 --- a/libavcodec/packet.h +++ b/libavcodec/packet.h @@ -410,6 +410,9 @@ typedef struct AVPacket { /** * Time base of the packet's timestamps. + * In the future, this field may be set on packets output by encoders or + * demuxers, but its value will be by default ignored on input to decoders + * or muxers. */ AVRational time_base; } AVPacket;