[FFmpeg-cvslog] avfilter: move some fields in AVFilterLink.

Nicolas George git at videolan.org
Sat May 19 11:10:30 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Fri May 18 12:44:11 2012 +0200| [9567f410aa9c9f727cd123a5d78c773e99798ee4] | committer: Nicolas George

avfilter: move some fields in AVFilterLink.

It restores ABI compatibility with libav.

The fields that move were very recent or morally private.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9567f410aa9c9f727cd123a5d78c773e99798ee4
---

 libavfilter/avfilter.h |   31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 124f3e6..fe7140a 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -705,6 +705,22 @@ struct AVFilterLink {
      */
     AVRational time_base;
 
+    /*****************************************************************
+     * All fields below this line are not part of the public API. They
+     * may not be used outside of libavfilter and can be changed and
+     * removed at will.
+     * New public fields should be added right above.
+     *****************************************************************
+     */
+    /**
+     * Lists of channel layouts and sample rates used for automatic
+     * negotiation.
+     */
+    AVFilterFormats  *in_samplerates;
+    AVFilterFormats *out_samplerates;
+    struct AVFilterChannelLayouts  *in_channel_layouts;
+    struct AVFilterChannelLayouts *out_channel_layouts;
+
     struct AVFilterPool *pool;
 
     /**
@@ -718,26 +734,11 @@ struct AVFilterLink {
      */
     int64_t current_pts;
 
-    /*****************************************************************
-     * All fields below this line are not part of the public API. They
-     * may not be used outside of libavfilter and can be changed and
-     * removed at will.
-     * New public fields should be added right above.
-     *****************************************************************
-     */
     /**
      * Index in the age array.
      */
     int age_index;
 
-    /**
-     * Lists of channel layouts and sample rates used for automatic
-     * negotiation.
-     */
-    AVFilterFormats  *in_samplerates;
-    AVFilterFormats *out_samplerates;
-    struct AVFilterChannelLayouts  *in_channel_layouts;
-    struct AVFilterChannelLayouts *out_channel_layouts;
 };
 
 /**



More information about the ffmpeg-cvslog mailing list