1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

multimedia/ffmpeg: unbreak mkv seeking beyond 2gb after r508216

PR:		239905
Reported by:	naddy
Obtained from:	upstream (release/4.2 branch)
This commit is contained in:
Jan Beich 2019-08-17 21:04:33 +00:00
parent f661d11a8a
commit 662ef3d579
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=509174
2 changed files with 14 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= ffmpeg
PORTVERSION= 4.2
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= https://ffmpeg.org/releases/

View File

@ -0,0 +1,13 @@
https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/299e0dff1fbc
--- libavformat/matroskadec.c.orig 2019-08-05 20:52:21 UTC
+++ libavformat/matroskadec.c
@@ -757,7 +757,7 @@ static int matroska_reset_status(MatroskaDemuxContext
uint32_t id, int64_t position)
{
if (position >= 0) {
- int err = avio_seek(matroska->ctx->pb, position, SEEK_SET);
+ int64_t err = avio_seek(matroska->ctx->pb, position, SEEK_SET);
if (err < 0)
return err;
}