diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2016-06-29 11:38:14 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-06-29 12:59:21 +0200 |
commit | 0a6d7602308e0f3060d9a6e6b44ae7bf5bbd7841 (patch) | |
tree | 52f40a31239abc697a3deab943e8ea3e163ae698 | |
parent | cd427a9d07e8b08486a33f174e645f4c3051a985 (diff) | |
download | ffmpeg-0a6d7602308e0f3060d9a6e6b44ae7bf5bbd7841.tar.gz |
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: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavfilter/avfilter.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 79227a7ea0..8a7f7916db 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -474,12 +474,6 @@ struct AVFilterLink { 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. */ AVFrame *partial_buf; @@ -550,6 +544,12 @@ struct AVFilterLink { * cleared when a frame is filtered. */ int frame_wanted_out; + + /** + * For hwaccel pixel formats, this should be a reference to the + * AVHWFramesContext describing the frames. + */ + AVBufferRef *hw_frames_ctx; }; /** |