From 5ecf68a38025ebf0f245ed9ff51331fc31491456 Mon Sep 17 00:00:00 2001 From: pb Date: Thu, 7 Aug 2003 11:09:15 +0000 Subject: Fix seek in raw DV files over 2Gb. Bump PORTREVISION. Reviewed by: riggs@rrr.de (maintainer) --- multimedia/mplayer/Makefile | 2 +- multimedia/mplayer/files/patch-demux_rawdv.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 multimedia/mplayer/files/patch-demux_rawdv.c (limited to 'multimedia/mplayer') 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 -- cgit