aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2006-10-03 09:36:30 +0800
committerlioux <lioux@FreeBSD.org>2006-10-03 09:36:30 +0800
commita31d90061987fee490109a31cf0ebdd900e63cbc (patch)
tree87aa782336203599ca6bd34d7c17bd51e93254fb
parent029afec02b305efac00843d2d9defb020e25d5b7 (diff)
downloadfreebsd-ports-gnome-a31d90061987fee490109a31cf0ebdd900e63cbc.tar.gz
freebsd-ports-gnome-a31d90061987fee490109a31cf0ebdd900e63cbc.tar.zst
freebsd-ports-gnome-a31d90061987fee490109a31cf0ebdd900e63cbc.zip
o Fix build: Rollback modification of files/patch-libavcodec_x264.c
o Bump PORTREVISION (Some ARCHs build but should be rebuilt) PR: 103889 Submitted by: Hans Nieser <h.nieser@xs4all.nl>
-rw-r--r--multimedia/ffmpeg-devel/Makefile2
-rw-r--r--multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 00dc31fabf18..8c1345db2f1a 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 0.4.9.cvs.${RELEASE_DATE}
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
# http://mplayerhq.hu/MPlayer/cvs/
diff --git a/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c b/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c
index e69de29bb2d1..7ae0189d03f4 100644
--- a/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c
+++ b/multimedia/ffmpeg-devel/files/patch-libavcodec_x264.c
@@ -0,0 +1,11 @@
+--- libavcodec/x264.c.orig Mon Feb 20 16:01:06 2006
++++ libavcodec/x264.c Mon Oct 2 22:26:03 2006
+@@ -148,7 +148,7 @@
+
+ // if neither crf nor cqp modes are selected we have to enable the RC
+ // we do it this way because we cannot check if the bitrate has been set
+- if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.b_cbr = 1;
++ if(!(avctx->crf || (avctx->cqp > -1))) x4->params.rc.i_rc_method = 1;
+
+ x4->params.i_bframe = avctx->max_b_frames;
+ x4->params.b_cabac = avctx->coder_type == FF_CODER_TYPE_AC;