Skip to content
Snippets Groups Projects
Commit 1eb43af1 authored by Timo Rothenpieler's avatar Timo Rothenpieler
Browse files

lavfi: Move new field to the end of AVFilterLink


Even though this is not part of the public API, some external
applications access fields after it, thus breaking after updating from
ffmpeg 3.0 or earlier.
Since it is not public, it can be freely moved to the end to avoid
that problem in the future.

Reviewed-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 1bd9fb6d
No related branches found
No related tags found
No related merge requests found
...@@ -473,12 +473,6 @@ struct AVFilterLink { ...@@ -473,12 +473,6 @@ struct AVFilterLink {
*/ */
AVRational frame_rate; AVRational frame_rate;
/**
* For hwaccel pixel formats, this should be a reference to the
* AVHWFramesContext describing the frames.
*/
AVBufferRef *hw_frames_ctx;
/** /**
* Buffer partially filled with samples to achieve a fixed/minimum size. * Buffer partially filled with samples to achieve a fixed/minimum size.
*/ */
...@@ -550,6 +544,12 @@ struct AVFilterLink { ...@@ -550,6 +544,12 @@ struct AVFilterLink {
* cleared when a frame is filtered. * cleared when a frame is filtered.
*/ */
int frame_wanted_out; int frame_wanted_out;
/**
* For hwaccel pixel formats, this should be a reference to the
* AVHWFramesContext describing the frames.
*/
AVBufferRef *hw_frames_ctx;
}; };
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment