On Mon, 13 Oct 2014, Vittorio Giovara wrote:
On Wed, Oct 8, 2014 at 8:32 PM, Anton Khirnov <[email protected]> wrote:diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f0fa7a9..b6cd74d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1170,7 +1170,8 @@ typedef struct AVCodecContext { * timebase should be 1/framerate and timestamp increments should be * identically 1. * - encoding: MUST be set by user. - * - decoding: Set by libavcodec. + * - decoding: the use of this field for decoding is deprecated. + * Use framerate instead. */ AVRational time_base;You are missing deprecation guards here.
It's only (supposed to be) deprecated for the decoding use cases, not for encoding. You can't add a deprecation attribute for that.
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
