Originally committed as revision 9273 to svn://svn.ffmpeg.org/ffmpeg/trunktags/v0.5
| @@ -8,7 +8,7 @@ VPATH=$(SRC_PATH_BARE) | |||||
| CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \ | CFLAGS=$(OPTFLAGS) -I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \ | ||||
| -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libswscale \ | -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libavformat -I$(SRC_PATH)/libswscale \ | ||||
| -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE | |||||
| -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -DHAVE_AV_CONFIG_H | |||||
| LDFLAGS+= -g | LDFLAGS+= -g | ||||
| PROGS-$(CONFIG_FFMPEG) += ffmpeg | PROGS-$(CONFIG_FFMPEG) += ffmpeg | ||||
| @@ -18,7 +18,7 @@ | |||||
| * License along with FFmpeg; if not, write to the Free Software | * License along with FFmpeg; if not, write to the Free Software | ||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #define HAVE_AV_CONFIG_H | |||||
| #include "avformat.h" | #include "avformat.h" | ||||
| #include "cmdutils.h" | #include "cmdutils.h" | ||||
| @@ -18,7 +18,7 @@ | |||||
| * License along with FFmpeg; if not, write to the Free Software | * License along with FFmpeg; if not, write to the Free Software | ||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #define HAVE_AV_CONFIG_H | |||||
| #include <signal.h> | #include <signal.h> | ||||
| #include <limits.h> | #include <limits.h> | ||||
| #include "avformat.h" | #include "avformat.h" | ||||
| @@ -18,7 +18,7 @@ | |||||
| * License along with FFmpeg; if not, write to the Free Software | * License along with FFmpeg; if not, write to the Free Software | ||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #define HAVE_AV_CONFIG_H | |||||
| #include "avformat.h" | #include "avformat.h" | ||||
| #include "swscale.h" | #include "swscale.h" | ||||
| @@ -18,7 +18,7 @@ | |||||
| * License along with FFmpeg; if not, write to the Free Software | * License along with FFmpeg; if not, write to the Free Software | ||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
| */ | */ | ||||
| #define HAVE_AV_CONFIG_H | |||||
| #include "avformat.h" | #include "avformat.h" | ||||
| #include <stdarg.h> | #include <stdarg.h> | ||||
| @@ -34,6 +34,8 @@ | |||||
| #include "avformat.h" | #include "avformat.h" | ||||
| #include "swscale.h" | #include "swscale.h" | ||||
| #undef exit | |||||
| /* 5 seconds stream duration */ | /* 5 seconds stream duration */ | ||||
| #define STREAM_DURATION 5.0 | #define STREAM_DURATION 5.0 | ||||
| #define STREAM_FRAME_RATE 25 /* 25 images/s */ | #define STREAM_FRAME_RATE 25 /* 25 images/s */ | ||||