aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorpb <pb@FreeBSD.org>2003-08-07 19:09:15 +0800
committerpb <pb@FreeBSD.org>2003-08-07 19:09:15 +0800
commit5ecf68a38025ebf0f245ed9ff51331fc31491456 (patch)
tree0d624b4a44e4fb934442fba4130e08b9e3db8603 /multimedia/mplayer
parent66c2c235f82f60bb320fc913b17e027549ae1af8 (diff)
downloadfreebsd-ports-gnome-5ecf68a38025ebf0f245ed9ff51331fc31491456.tar.gz
freebsd-ports-gnome-5ecf68a38025ebf0f245ed9ff51331fc31491456.tar.zst
freebsd-ports-gnome-5ecf68a38025ebf0f245ed9ff51331fc31491456.zip
Fix seek in raw DV files over 2Gb.
Bump PORTREVISION. Reviewed by: riggs@rrr.de (maintainer)
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile2
-rw-r--r--multimedia/mplayer/files/patch-demux_rawdv.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 96083a939f42..3525ebdfaff7 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -162,7 +162,7 @@
PORTNAME= mplayer
PORTVERSION= 0.90.0.110
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= multimedia audio ipv6
MASTER_SITES= http://www1.mplayerhq.hu/MPlayer/releases/ \
http://www2.mplayerhq.hu/MPlayer/releases/ \
diff --git a/multimedia/mplayer/files/patch-demux_rawdv.c b/multimedia/mplayer/files/patch-demux_rawdv.c
new file mode 100644
index 000000000000..20911c92fa45
--- /dev/null
+++ b/multimedia/mplayer/files/patch-demux_rawdv.c
@@ -0,0 +1,11 @@
+--- libmpdemux/demux_rawdv.c.orig Sat Mar 22 17:31:29 2003
++++ libmpdemux/demux_rawdv.c Wed Aug 6 21:10:01 2003
+@@ -40,7 +40,7 @@
+ {
+ rawdv_frames_t *frames = (rawdv_frames_t *)demuxer->priv;
+ sh_video_t *sh_video = demuxer->video->sh;
+- int newpos=(flags&1)?0:frames->current_frame;
++ off_t newpos=(flags&1)?0:frames->current_frame;
+ if(flags&2)
+ {
+ // float 0..1