From ad1ee5fa75a3d69d54c0691048939e94ab5a7f0d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 4 Aug 2014 10:28:10 -0700 Subject: avcodec: Undeprecate reordered_opaque It allows attaching other external, opaque data to the frame and passing it through the reordering process, for cases when the caller wants other data than just the plain packet pts. There is no way to cleanly achieve this without the field. --- doc/APIchanges | 3 +++ libavcodec/avcodec.h | 1 - libavcodec/version.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index bd1b0b89ec..344b3e56b6 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,9 @@ libavutil: 2013-12-xx API changes, most recent first: +2014-08-xx - xxxxxxx - lavc 55.57.3 - avcodec.h + reordered_opaque is not going to be removed in the future. + 2014-08-xx - xxxxxxx - lavu 53.22.0 - pixfmt.h Add AV_PIX_FMT_YA16 pixel format for 16 bit packed gray with alpha. diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 3569ac15d1..0cc81749b0 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2413,7 +2413,6 @@ typedef struct AVCodecContext { /** * opaque 64bit number (generally a PTS) that will be reordered and * output in AVFrame.reordered_opaque - * @deprecated in favor of pkt_pts * - encoding: unused * - decoding: Set by user. */ diff --git a/libavcodec/version.h b/libavcodec/version.h index 2c22adb35d..e087da39d7 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -30,7 +30,7 @@ #define LIBAVCODEC_VERSION_MAJOR 55 #define LIBAVCODEC_VERSION_MINOR 57 -#define LIBAVCODEC_VERSION_MICRO 2 +#define LIBAVCODEC_VERSION_MICRO 3 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ -- cgit v1.2.3