History

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. Originally committed as revision 25923 to svn://svn.ffmpeg.org/ffmpeg/trunk

Stefano Sabatini committed 15 years ago

Commit c61cdd01 parent 6d343235 files · +14 −8Browse files

Unified · Split

5 files
  1. doc/APIchanges +4 −0
  2. libavcodec/avcodec.h +1 −5
  3. libavcore/avcore.h +5 −1
  4. libavfilter/avfilter.h +3 −2
  5. libavfilter/vsrc_buffer.h +1 −0
doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2009-03-08 · 12 unmodified lines
1313
1414 API changes, most recent first:
1515
16+2010-12-09 - r25923 - lavcore 0.16.0 - avcore.h
17+ Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
18+ avcodec.h to avcore.h.
19+
1620 2010-12-04 - r25886 - lavc 52.98.0 - CODEC_CAP_NEG_LINESIZES
1721 Add CODEC_CAP_NEG_LINESIZES codec capability flag in avcodec.h.
1822
libavcodec/avcodec.h+1−5
@@ -33,7 +33,7 @@ · 32 unmodified lines
3333
3434 #define LIBAVCODEC_VERSION_MAJOR 52
3535 #define LIBAVCODEC_VERSION_MINOR 99
36−#define LIBAVCODEC_VERSION_MICRO 0
36+#define LIBAVCODEC_VERSION_MICRO 1
3737
3838 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
3939 LIBAVCODEC_VERSION_MINOR, \
@@ -89,10 +89,6 @@ · 49 unmodified lines
8989 # define FF_INTERNALC_MEM_TYPE size_t
9090 #endif
9191
92−#define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
93−#define AV_TIME_BASE 1000000
94−#define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
95−
9692 /**
9793 * Identify the syntax and semantics of the bitstream.
9894 * The principle is roughly:
libavcore/avcore.h+5−1
@@ -27,7 +27,7 @@ · 26 unmodified lines
2727 #include "libavutil/avutil.h"
2828
2929 #define LIBAVCORE_VERSION_MAJOR 0
30−#define LIBAVCORE_VERSION_MINOR 15
30+#define LIBAVCORE_VERSION_MINOR 16
3131 #define LIBAVCORE_VERSION_MICRO 0
3232
3333 #define LIBAVCORE_VERSION_INT AV_VERSION_INT(LIBAVCORE_VERSION_MAJOR, \
@@ -55,6 +55,10 @@ const char *avcore_configuration(void); · 21 unmodified lines
5555 */
5656 const char *avcore_license(void);
5757
58+#define AV_NOPTS_VALUE INT64_C(0x8000000000000000)
59+#define AV_TIME_BASE 1000000
60+#define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
61+
5862 /**
5963 * Those FF_API_* defines are not part of public API.
6064 * They may change, break or disappear at any time.
libavfilter/avfilter.h+3−2
@@ -23,10 +23,12 @@ · 22 unmodified lines
2323 #define AVFILTER_AVFILTER_H
2424
2525 #include "libavutil/avutil.h"
26+#include "libavcore/avcore.h"
27+#include "libavcore/samplefmt.h"
2628
2729 #define LIBAVFILTER_VERSION_MAJOR 1
2830 #define LIBAVFILTER_VERSION_MINOR 68
29−#define LIBAVFILTER_VERSION_MICRO 0
31+#define LIBAVFILTER_VERSION_MICRO 1
3032
3133 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
3234 LIBAVFILTER_VERSION_MINOR, \
@@ -37,7 +39,6 @@ · 4 unmodified lines
3739 #define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
3840
3941 #include <stddef.h>
40−#include "libavcodec/avcodec.h"
4142
4243 /**
4344 * Return the LIBAVFILTER_VERSION_INT constant.
libavfilter/vsrc_buffer.h+1−0
@@ -19,6 +19,7 @@ · 18 unmodified lines
1919 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2020 */
2121
22+#include "libavcodec/avcodec.h" /* AVFrame */
2223 #include "avfilter.h"
2324
2425 int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t