[FFmpeg-cvslog] r25923 - in trunk: doc/APIchanges libavcodec/avcodec.h libavcore/avcore.h libavfilter/avfilter.h libavfilter/vsrc_buffer.h

stefano subversion
Thu Dec 9 18:27:34 CET 2010


Author: stefano
Date: Thu Dec  9 18:27:33 2010
New Revision: 25923

Log:
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
libavcodec to libavcore.

Remove another compile-time dependancy of libavfilter on libavcodec.

Modified:
   trunk/doc/APIchanges
   trunk/libavcodec/avcodec.h
   trunk/libavcore/avcore.h
   trunk/libavfilter/avfilter.h
   trunk/libavfilter/vsrc_buffer.h

Modified: trunk/doc/APIchanges
==============================================================================
--- trunk/doc/APIchanges	Wed Dec  8 11:24:09 2010	(r25922)
+++ trunk/doc/APIchanges	Thu Dec  9 18:27:33 2010	(r25923)
@@ -13,6 +13,10 @@ libavutil:   2009-03-08
 
 API changes, most recent first:
 
+2010-12-09 - r25923 - lavcore 0.16.0 - avcore.h
+  Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
+  avcodec.h to avcore.h.
+
 2010-12-04 - r25886 - lavc 52.98.0 - CODEC_CAP_NEG_LINESIZES
   Add CODEC_CAP_NEG_LINESIZES codec capability flag in avcodec.h.
 

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	Wed Dec  8 11:24:09 2010	(r25922)
+++ trunk/libavcodec/avcodec.h	Thu Dec  9 18:27:33 2010	(r25923)
@@ -33,7 +33,7 @@
 
 #define LIBAVCODEC_VERSION_MAJOR 52
 #define LIBAVCODEC_VERSION_MINOR 99
-#define LIBAVCODEC_VERSION_MICRO  0
+#define LIBAVCODEC_VERSION_MICRO  1
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
                                                LIBAVCODEC_VERSION_MINOR, \
@@ -89,10 +89,6 @@
 #   define FF_INTERNALC_MEM_TYPE size_t
 #endif
 
-#define AV_NOPTS_VALUE          INT64_C(0x8000000000000000)
-#define AV_TIME_BASE            1000000
-#define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
-
 /**
  * Identify the syntax and semantics of the bitstream.
  * The principle is roughly:

Modified: trunk/libavcore/avcore.h
==============================================================================
--- trunk/libavcore/avcore.h	Wed Dec  8 11:24:09 2010	(r25922)
+++ trunk/libavcore/avcore.h	Thu Dec  9 18:27:33 2010	(r25923)
@@ -27,7 +27,7 @@
 #include "libavutil/avutil.h"
 
 #define LIBAVCORE_VERSION_MAJOR  0
-#define LIBAVCORE_VERSION_MINOR 15
+#define LIBAVCORE_VERSION_MINOR 16
 #define LIBAVCORE_VERSION_MICRO  0
 
 #define LIBAVCORE_VERSION_INT   AV_VERSION_INT(LIBAVCORE_VERSION_MAJOR, \
@@ -55,6 +55,10 @@ const char *avcore_configuration(void);
  */
 const char *avcore_license(void);
 
+#define AV_NOPTS_VALUE          INT64_C(0x8000000000000000)
+#define AV_TIME_BASE            1000000
+#define AV_TIME_BASE_Q          (AVRational){1, AV_TIME_BASE}
+
 /**
  * Those FF_API_* defines are not part of public API.
  * They may change, break or disappear at any time.

Modified: trunk/libavfilter/avfilter.h
==============================================================================
--- trunk/libavfilter/avfilter.h	Wed Dec  8 11:24:09 2010	(r25922)
+++ trunk/libavfilter/avfilter.h	Thu Dec  9 18:27:33 2010	(r25923)
@@ -23,10 +23,12 @@
 #define AVFILTER_AVFILTER_H
 
 #include "libavutil/avutil.h"
+#include "libavcore/avcore.h"
+#include "libavcore/samplefmt.h"
 
 #define LIBAVFILTER_VERSION_MAJOR  1
 #define LIBAVFILTER_VERSION_MINOR 68
-#define LIBAVFILTER_VERSION_MICRO  0
+#define LIBAVFILTER_VERSION_MICRO  1
 
 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
                                                LIBAVFILTER_VERSION_MINOR, \
@@ -37,7 +39,6 @@
 #define LIBAVFILTER_BUILD       LIBAVFILTER_VERSION_INT
 
 #include <stddef.h>
-#include "libavcodec/avcodec.h"
 
 /**
  * Return the LIBAVFILTER_VERSION_INT constant.

Modified: trunk/libavfilter/vsrc_buffer.h
==============================================================================
--- trunk/libavfilter/vsrc_buffer.h	Wed Dec  8 11:24:09 2010	(r25922)
+++ trunk/libavfilter/vsrc_buffer.h	Thu Dec  9 18:27:33 2010	(r25923)
@@ -19,6 +19,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavcodec/avcodec.h" /* AVFrame */
 #include "avfilter.h"
 
 int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,



More information about the ffmpeg-cvslog mailing list