summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-11 19:28:30 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-10-11 19:28:30 +0000
commit4f2162a0d54f5d95c741a618577a2aafd500308f (patch)
tree3144bcec3109220690d47df1929e65caea18da15 /multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c
parentAdd a fix that accounts for recently added <sys/endian.h> in (diff)
o Update ffmpeg to CVS snapshot dated Aug 20, 2002. Bump PORTREVISION
since this is unversioned. o Add booktree capture support with patches kindly supplied by "Steve O'Hara-Smith" <steve@sohara.org>. Work is in progress to get these merged back into ffmpeg's CVS repo o Add WITH_MP3 for lame mp3 support o Add WITH_VORBIS for vorbis support o Install shared library for the first time, begin versioning at 0 Reviewed by: freebsd-multimedia mailing list, "Steve O'Hara-Smith" <steve@sohara.org>, Anish Mistry <mistry.7@osu.edu>
Notes
Notes: svn path=/head/; revision=67821
Diffstat (limited to 'multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c')
-rw-r--r--multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c35
1 files changed, 31 insertions, 4 deletions
diff --git a/multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c b/multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c
index 093e99aed89b..2242cdb60be1 100644
--- a/multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c
+++ b/multimedia/ffmpeg/files/extra-bktr-patch-ffmpeg.c
@@ -1,10 +1,37 @@
---- ffmpeg.c.orig Mon Aug 13 18:23:57 2001
-+++ ffmpeg.c Tue Sep 25 14:47:58 2001
-@@ -35,6 +35,7 @@
+--- ffmpeg.c.orig Thu Oct 10 20:13:52 2002
++++ ffmpeg.c Thu Oct 10 20:14:03 2002
+@@ -36,6 +36,7 @@
+ #include <ctype.h>
- #include "avformat.h"
+#define INT64_C(x) x##LL
#define MAXINT64 INT64_C(0x7fffffffffffffff)
typedef struct {
+@@ -146,7 +147,7 @@
+ const char *audio_device = "none";
+ #endif
+ #ifndef CONFIG_VIDEO4LINUX
+-const char *v4l_device = "none";
++const char *video_device = "none";
+ #endif
+
+ typedef struct AVOutputStream {
+@@ -1601,7 +1602,7 @@
+
+ void opt_video_device(const char *arg)
+ {
+- v4l_device = strdup(arg);
++ video_device = strdup(arg);
+ }
+
+ void opt_audio_device(const char *arg)
+@@ -2099,7 +2100,7 @@
+ /* by now video grab has one stream */
+ ic->streams[0]->r_frame_rate = ap->frame_rate;
+ input_files[nb_input_files] = ic;
+- dump_format(ic, nb_input_files, v4l_device, 0);
++ dump_format(ic, nb_input_files, video_device, 0);
+ nb_input_files++;
+ }
+ if (has_audio) {