From: Aman Gupta <a...@tmm1.net> Signed-off-by: Aman Gupta <a...@tmm1.net> --- doc/APIchanges | 5 +++++ libavformat/avformat.h | 3 ++- libavformat/utils.c | 1 + libavformat/version.h | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/doc/APIchanges b/doc/APIchanges index befa58c84a..bca2e7485e 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,11 @@ libavutil: 2017-10-21 API changes, most recent first: +2018-05-xx - xxxxxxxxxx - lavf 58.15.100 - avformat.h + Remove unused AV_PROGRAM_RUNNING + Add AV_PROGRAM_CHANGED + Add pmt_version field to AVProgram + 2018-05-xx - xxxxxxxxxx - lavf 58.14.100 - avformat.h Add AV_DISPOSITION_STILL_IMAGE diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 6dce88fad5..91285f34f8 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1241,7 +1241,7 @@ struct AVCodecParserContext *av_stream_get_parser(const AVStream *s); */ int64_t av_stream_get_end_pts(const AVStream *st); -#define AV_PROGRAM_RUNNING 1 +#define AV_PROGRAM_CHANGED 1 /** * New fields can be added to the end with minor version bumps. @@ -1260,6 +1260,7 @@ typedef struct AVProgram { int program_num; int pmt_pid; int pcr_pid; + int pmt_version; /***************************************************************** * All fields below this line are not part of the public API. They diff --git a/libavformat/utils.c b/libavformat/utils.c index 636fae3779..a4aa4e10b1 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4569,6 +4569,7 @@ AVProgram *av_new_program(AVFormatContext *ac, int id) return NULL; dynarray_add(&ac->programs, &ac->nb_programs, program); program->discard = AVDISCARD_NONE; + program->pmt_version = -1; } program->id = id; program->pts_wrap_reference = AV_NOPTS_VALUE; diff --git a/libavformat/version.h b/libavformat/version.h index e9b94cc216..c8e89cdce1 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -32,7 +32,7 @@ // Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium) // Also please add any ticket numbers that you believe might be affected here #define LIBAVFORMAT_VERSION_MAJOR 58 -#define LIBAVFORMAT_VERSION_MINOR 14 +#define LIBAVFORMAT_VERSION_MINOR 15 #define LIBAVFORMAT_VERSION_MICRO 100 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \ -- 2.14.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel