aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer
diff options
context:
space:
mode:
authorscheidell <scheidell@FreeBSD.org>2012-05-03 08:13:16 +0800
committerscheidell <scheidell@FreeBSD.org>2012-05-03 08:13:16 +0800
commit0821966845bc7490a6c037a9b5f3c9185feedb49 (patch)
treecc2b8804d8fef27c5e8dca37fdfe825f4a1eede6 /multimedia/mplayer
parentf710ee16a32e5b87d3916ff105dad7f736c44bbc (diff)
downloadfreebsd-ports-gnome-0821966845bc7490a6c037a9b5f3c9185feedb49.tar.gz
freebsd-ports-gnome-0821966845bc7490a6c037a9b5f3c9185feedb49.tar.zst
freebsd-ports-gnome-0821966845bc7490a6c037a9b5f3c9185feedb49.zip
- Fix h264 regression in mplayer/mencoder from ffmpeg
- Bump PORTREVISION on master and slave to force rebuild PR: ports/167485 Submitted by: Thomas Zander <thomas.e.zander@googlemail.com> (maintainer)
Diffstat (limited to 'multimedia/mplayer')
-rw-r--r--multimedia/mplayer/Makefile1
-rw-r--r--multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index 2d3efefa45f5..f95b98972c23 100644
--- a/multimedia/mplayer/Makefile
+++ b/multimedia/mplayer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mplayer
PORTVERSION= ${MPLAYER_PORT_VERSION}
+PORTREVISION= 1
COMMENT= High performance media player supporting many formats
diff --git a/multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c b/multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c
new file mode 100644
index 000000000000..847155cdd360
--- /dev/null
+++ b/multimedia/mplayer/files/patch-libavcodec-mpegaudio_parser.c
@@ -0,0 +1,11 @@
+--- ffmpeg/libavcodec/mpegaudio_parser.c.orig 2012-03-04 19:20:05.000000000 +0100
++++ ffmpeg/libavcodec/mpegaudio_parser.c 2012-05-01 14:57:54.645626270 +0200
+@@ -78,7 +78,7 @@
+ if (s->header_count > 1) {
+ avctx->sample_rate= sr;
+ avctx->channels = channels;
+- s1->duration = frame_size;
++ avctx->frame_size = frame_size;
+ avctx->bit_rate = bit_rate;
+ }
+ break;