1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-25 22:50:32 -04:00
ports/multimedia/ffmpeg-devel/files/patch-ffmpeg.c
Mario Sergio Fujikawa Ferreira 639ba969fc - After repo copy to ffmpeg045 port so that both older and faster
version 0.4.5 is preserved while the current version matures:
o Update to 0.4.6
o Remove ONLY_FOR_ARCHS, no longer i386 only
o Add PKGMESSAGE explaining the differences between this and ffmpeg045
  port

Reviewed by:	Steve O'Hara-Smith <steve@sohara.org>
Repo copied by:	cvs (joe)
Approved by:	portmgr (self)
2003-01-10 18:21:21 +00:00

37 lines
950 B
C

--- ffmpeg.c.orig Wed Jan 1 20:56:06 2003
+++ ffmpeg.c Wed Jan 1 20:56:41 2003
@@ -35,6 +35,7 @@
#define INFINITY HUGE_VAL
#endif
+#define INT64_C(x) x##LL
#define MAXINT64 INT64_C(0x7fffffffffffffff)
typedef struct {
@@ -158,7 +159,7 @@
const char *audio_device = "none";
#endif
#ifndef CONFIG_VIDEO4LINUX
-const char *v4l_device = "none";
+const char *video_device = "none";
#endif
typedef struct AVOutputStream {
@@ -1842,7 +1843,7 @@
void opt_video_device(const char *arg)
{
- v4l_device = strdup(arg);
+ video_device = strdup(arg);
}
void opt_audio_device(const char *arg)
@@ -2428,7 +2429,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) {