Commit 042fb69d authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/frame: Move new field to the end of AVFrame

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 1eb43af1

Approved-by: BBB
Approved-by: jamrial
Approved-by: BtbN
Approved-by: nevcairiel
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d9e1e081
...@@ -427,12 +427,6 @@ typedef struct AVFrame { ...@@ -427,12 +427,6 @@ typedef struct AVFrame {
enum AVChromaLocation chroma_location; enum AVChromaLocation chroma_location;
/**
* For hwaccel-format frames, this should be a reference to the
* AVHWFramesContext describing the frame.
*/
AVBufferRef *hw_frames_ctx;
/** /**
* frame timestamp estimated using various heuristics, in stream time base * frame timestamp estimated using various heuristics, in stream time base
* Code outside libavutil should access this field using: * Code outside libavutil should access this field using:
...@@ -524,6 +518,11 @@ typedef struct AVFrame { ...@@ -524,6 +518,11 @@ typedef struct AVFrame {
*/ */
AVBufferRef *qp_table_buf; AVBufferRef *qp_table_buf;
#endif #endif
/**
* For hwaccel-format frames, this should be a reference to the
* AVHWFramesContext describing the frame.
*/
AVBufferRef *hw_frames_ctx;
} AVFrame; } AVFrame;
/** /**
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
*/ */
#define LIBAVUTIL_VERSION_MAJOR 55 #define LIBAVUTIL_VERSION_MAJOR 55
#define LIBAVUTIL_VERSION_MINOR 27 #define LIBAVUTIL_VERSION_MINOR 28
#define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment