You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/avformat: Move new field to the end of AVStream
This fixes part of Ticket5676
This fixes kodi, mpv, chromium and ffplay build against 3.0 and linked to 3.1
This is a similar ABI fix to 1eb43af1a0
Approved-by: BBB
Approved-by: jamrial
Approved-by: BtbN
Approved-by: nevcairiel
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -985,17 +985,6 @@ typedef struct AVStream {
|
|||||||
int event_flags;
|
int event_flags;
|
||||||
#define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001 ///< The call resulted in updated metadata.
|
#define AVSTREAM_EVENT_FLAG_METADATA_UPDATED 0x0001 ///< The call resulted in updated metadata.
|
||||||
|
|
||||||
/*
|
|
||||||
* Codec parameters associated with this stream. Allocated and freed by
|
|
||||||
* libavformat in avformat_new_stream() and avformat_free_context()
|
|
||||||
* respectively.
|
|
||||||
*
|
|
||||||
* - demuxing: filled by libavformat on stream creation or in
|
|
||||||
* avformat_find_stream_info()
|
|
||||||
* - muxing: filled by the caller before avformat_write_header()
|
|
||||||
*/
|
|
||||||
AVCodecParameters *codecpar;
|
|
||||||
|
|
||||||
/*****************************************************************
|
/*****************************************************************
|
||||||
* All fields below this line are not part of the public API. They
|
* All fields below this line are not part of the public API. They
|
||||||
* may not be used outside of libavformat and can be changed and
|
* may not be used outside of libavformat and can be changed and
|
||||||
@@ -1217,6 +1206,17 @@ typedef struct AVStream {
|
|||||||
* Must not be accessed in any way by callers.
|
* Must not be accessed in any way by callers.
|
||||||
*/
|
*/
|
||||||
AVStreamInternal *internal;
|
AVStreamInternal *internal;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Codec parameters associated with this stream. Allocated and freed by
|
||||||
|
* libavformat in avformat_new_stream() and avformat_free_context()
|
||||||
|
* respectively.
|
||||||
|
*
|
||||||
|
* - demuxing: filled by libavformat on stream creation or in
|
||||||
|
* avformat_find_stream_info()
|
||||||
|
* - muxing: filled by the caller before avformat_write_header()
|
||||||
|
*/
|
||||||
|
AVCodecParameters *codecpar;
|
||||||
} AVStream;
|
} AVStream;
|
||||||
|
|
||||||
AVRational av_stream_get_r_frame_rate(const AVStream *s);
|
AVRational av_stream_get_r_frame_rate(const AVStream *s);
|
||||||
|
@@ -32,8 +32,8 @@
|
|||||||
// Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium)
|
// Major bumping may affect Ticket5467, 5421, 5451(compatibility with Chromium)
|
||||||
// Also please add any ticket numbers that you belive might be affected here
|
// Also please add any ticket numbers that you belive might be affected here
|
||||||
#define LIBAVFORMAT_VERSION_MAJOR 57
|
#define LIBAVFORMAT_VERSION_MAJOR 57
|
||||||
#define LIBAVFORMAT_VERSION_MINOR 40
|
#define LIBAVFORMAT_VERSION_MINOR 41
|
||||||
#define LIBAVFORMAT_VERSION_MICRO 101
|
#define LIBAVFORMAT_VERSION_MICRO 100
|
||||||
|
|
||||||
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
|
||||||
LIBAVFORMAT_VERSION_MINOR, \
|
LIBAVFORMAT_VERSION_MINOR, \
|
||||||
|
Reference in New Issue
Block a user