summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg-devel/files/patch-libavformat::audio.c
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-09-07 23:52:59 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-09-07 23:52:59 +0000
commitdb73464fc28df35e49fd283f4ad75c037f5eccd0 (patch)
treea4f221ea3dab4d1d9802b2abe9d980f21b365253 /multimedia/ffmpeg-devel/files/patch-libavformat::audio.c
parentUpgrade to version 4.12, which contains several new hacks, and updates (diff)
Update to 0.4.7
Submitted by: Steve O'Hara-Smith <steve@sohara.org>
Notes
Notes: svn path=/head/; revision=88700
Diffstat (limited to 'multimedia/ffmpeg-devel/files/patch-libavformat::audio.c')
-rw-r--r--multimedia/ffmpeg-devel/files/patch-libavformat::audio.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/multimedia/ffmpeg-devel/files/patch-libavformat::audio.c b/multimedia/ffmpeg-devel/files/patch-libavformat::audio.c
deleted file mode 100644
index 375a58dd7280..000000000000
--- a/multimedia/ffmpeg-devel/files/patch-libavformat::audio.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- libavformat/audio.c.orig Wed Feb 5 20:49:08 2003
-+++ libavformat/audio.c Wed Feb 5 20:50:36 2003
-@@ -243,6 +243,14 @@
- if (av_new_packet(pkt, s->frame_size) < 0)
- return -EIO;
- for(;;) {
-+ struct timeval tv;
-+ fd_set fds;
-+ tv.tv_sec = 0;
-+ tv.tv_usec = 30 * 1000; /* 30 msecs -- a bit shorter than 1 frame at 30fps */
-+ FD_ZERO(&fds);
-+ FD_SET(s->fd, &fds); /* This will block until data is available or we get a timeout */
-+ (void) select(s->fd + 1, &fds, 0, 0, &tv);
-+
- ret = read(s->fd, pkt->data, pkt->size);
- if (ret > 0)
- break;