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
This commit is contained in:
Stefano Sabatini
2010-12-09 17:27:33 +00:00
parent 6d34323ee6
commit c61cdd0afb
5 changed files with 14 additions and 8 deletions

View File

@@ -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.

View File

@@ -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,