121 Commits

Author SHA1 Message Date
brad
b8bba0c22e Remove patch no longer necessary now that shm.h has been fixed. 2014-11-23 05:25:44 +00:00
landry
0576a9a1c3 Only enable x265 support on architectures where it actually builds (ie
so far alpha/amd64/i386/sparc64) to unbreak half of the tree (mplayer,
etc..) on other archs like ppc/mips64*.
Tested on amd64 & ppc.
ok brad@
2014-11-04 09:31:01 +00:00
brad
730cbbc611 Fix the configure script to be able to detect the presence of the
V4L2 VIDIOC_ENUM_FRAMESIZES ioctl and make use of it on OpenBSD.

Pushed upstream and commited.

From armani@
2014-10-23 07:41:45 +00:00
brad
2d915932ff Update to FFmpeg 20141010 snapshot. From 2.4 branch.
ok ajacoutot@
2014-10-19 23:14:23 +00:00
brad
59cdf7876c Enable the x265 support.
ok ajacoutot@
2014-09-04 05:49:49 +00:00
brad
a3e1fc0cbc Update to FFmpeg 20140810 snapshot. From master branch.
ok ajacoutot@ zhuk@
2014-08-14 08:20:27 +00:00
brad
9d8eef2c55 Fix LZO integer overflow issues. CVE-2014-4610
ok sthen@
2014-07-25 20:37:58 +00:00
brad
cfc1713414 Update to FFmpeg 20140412 snapshot. From 2.2 branch.
Update to MPlayer 20140412 snapshot.

Take MAINTAINER for MPlayer. ok edd@

ok ajacoutot@
2014-05-16 01:34:50 +00:00
brad
8ff15dda71 Some fixes for libavresample.
ok rpe@ juanfra@
2013-12-28 00:40:05 +00:00
brad
ae1669ba48 Update to FFmpeg 20131216 snapshot. From 1.2 branch.
ok sthen@
2013-12-24 15:22:55 +00:00
brad
0321d4d3d4 Update to FFmpeg 20130718 snapshot. From 1.2 branch.
ok sthen@
2013-08-19 14:38:29 +00:00
brad
76deb8dd55 The testsuite was fixed within the last 3 years to work with swscale
which has been the norm for that long so enable it.

ok sthen@
2013-04-14 21:10:49 +00:00
brad
c4c816c22c Update to FFmpeg 20130319 snapshot. From 1.2 branch.
ok sthen@
2013-04-08 17:06:55 +00:00
brad
08da8b8724 Update to FFmpeg 20130214 snapshot. From 1.1 branch.
ok sthen@
2013-03-13 02:26:44 +00:00
espie
e4fa65e765 PERMIT_* / REGRESS -> TEST sweep 2013-03-11 11:10:51 +00:00
brad
52770423f7 - Remove the --disable-avx flag as I found out after speaking to Antoine
about Libav that digging into the CPU run-time detection code that the
  AVX support has an OS level check unlike the SSE code so it is safe.
- Revert back to not using the -Bsymbolic linker flag as was done for
  quite some time to workaround an issue with pthreads but enabling it
  exposed a bug with the mips64 linker and I'd rather do this consistently
  across all archs as was done before instead of only for mips64 as has
  been proposed.
- sync the libgsm hacking with my submitted diff from upstream.

ok ajacoutot@ sthen@
2013-01-25 09:46:22 +00:00
brad
63a5ba9eb2 Remove a hack for FFmpeg/Libav to workaround an assembler bug now that it
has been fixed.

ok ajacoutot@
2013-01-20 07:46:16 +00:00
brad
7fe3666486 Disable the AVX support since it cannot be used yet on OpenBSD.
ok sthen@
2013-01-16 01:02:03 +00:00
brad
2de9b3e02a Update to FFmpeg 20121026 snapshot. From 0.10 branch.
ok sthen@
2013-01-14 02:14:41 +00:00
brad
ec1e74d43d - Fix generated libavcodec pkgc-config file for static linking.
- sync distinfo.

ok sthen@
2013-01-08 10:13:13 +00:00
ajacoutot
bb37df78ad * Remove bogus use of -rpath and replace with utilization of the
-rpath-link linker flag
* Remove unnecessary patch for ffplay

from Brad (maintainer)
2012-09-12 08:15:57 +00:00
ajacoutot
f8749a2c60 Keep --as-needed and remove pthread linking hacks.
Fix the pkg-config file.

from Brad (maintainer)
2012-09-04 06:31:08 +00:00
jasper
19d869a947 - update to 20120610, various bug fixes
from brad (MAINTAINER)
ok dcoppa@
2012-06-18 16:44:53 +00:00
sthen
f3449e4106 Update to a newer FFmpeg snapshot, including security and stability fixes:
- vqavideo: return error if image size is not a multiple of block size (CVE-2012-0947)
- h263dec: Disallow width/height changing with frame threads (CVE-2011-3937)
- adpcm: ADPCM Electronic Arts has always two channels (CVE-2012-0852)
- h264: Add check for invalid chroma_format_idc (CVE-2012-0851)
- dpcm: ignore extra unpaired bytes in stereo streams (CVE-2011-3951)
- rtpdec_asf: Fix integer underflow that could allow remote code execution (CVE-2011-4031)
- aacsbr: prevent out of bounds memcpy() (CVE-2012-0850)
- kmvc: Check palsize (CVE-2011-3952)

Further bugfixes in the following codecs: ea, png, qdm2, tqi, motionpixels

From Brad, ok jasper@.
2012-06-09 23:05:49 +00:00
ajacoutot
cd8cba8102 Update to ffmpeg-20120422 (0.7 branch).
* fix a whole lot of security related issues and bugs

from Brad (maintainer)
2012-04-28 08:41:32 +00:00
ajacoutot
3a019565f6 Enable support for the libxvid encoder.
from Brad (maintainer)
2012-04-08 16:56:51 +00:00
edd
3d6d3fe128 update ffmpeg to a stable snapshot, from brad, OK aja@ 2011-12-30 17:34:39 +00:00
sthen
b519e03198 add a fix to FFmpeg, from Brad:
wavpack: Check error codes rather than working around error conditions
2011-09-21 08:58:48 +00:00
sthen
57d7ee5a36 Some FFmpeg security and bug fixes from upstream, from Brad:
- jpegdec: Actually search for and parse RSTn.
- mpeg4: Adjust dummy frame threshold for packed DivX.
- mpeg4: Fix another packed DivX issue.
- jpegdec: Better RSTn skiping.
- Fix memory corruption in case of memory allocation failure.
- cavsdec: Avoid possible crash with crafted input.
- rtp: Fix integer underflow that could allow remote code execution. MSVR-11-008
8
- rtpdec_asf: Fix memleak.
- mp3dec: Dont spam the user on multiple MP3 frames.
- wavpack: Fixed invalid access with corrupted extra bits sub-blocks.
- wavpack: Fixed invalid writes with corrupted bitstreams.
- wavpack: Fixed invalid access with corrupted bitstream.
2011-09-12 21:04:48 +00:00
sthen
c1291ffb7e FFmpeg build/packaging tweaks from Brad:
- Stop using --disable-optimization to have the port obey the CFLAGS
  but instead modify the configure script appropriately
- Move most of the DESCR into the pkg-readme
- Remove unnecessary CPPFLAGS that was being added to CONFIGURE_ENV
2011-09-04 09:22:43 +00:00
sthen
09abb3d2cd add a fix for the Ogg demuxer, from upstream via Brad 2011-08-28 11:17:48 +00:00
sthen
6c5a80cffc Another cavs security-related bug fix; check run value validity. From Brad. 2011-08-24 09:26:41 +00:00
sthen
1781ed0516 Fix crashes with invalid bitstreams in the cavs decoder (oCERT #2011-002),
From Brad.
2011-08-23 11:59:59 +00:00
sthen
aa1bd0c6bc Bug and security fixes for FFmpeg, from Brad;
- cavs decoder: security fix; insufficient boundary check. oCERT #2011-002
- ogg demux: fix demuxing chained audio streams, correct duration
2011-08-16 19:01:47 +00:00
dcoppa
6e645cffe4 Some security fixes and important bug fixes for the FFmpeg Matroska, Ogg
and Wavpack demuxers.

From Brad

OK sthen@, ajacoutot@
2011-08-03 18:44:07 +00:00
jasper
3c9f0d1a13 no need to keep using the gcc3 module on sparc
from brad
2011-07-11 14:04:42 +00:00
sthen
5d8880f5cd Record missing inter-library dependencies in .pc files, pkg-config
now only considers Requires not Requires.private unless linking
statically so the missing deps cause problems. From Nigel Taylor
and on ports@ for a week, much testing by Nigel. I updated the
diff following faac removal.  Fixes multimedia/transcode build.

ok jasper@ espie@
2011-06-27 13:36:44 +00:00
sthen
6289a8e289 Don't link to libfaac, it has a problem with incompatible licenses.
From Brad, ok dcoppa@.
2011-06-24 11:16:21 +00:00
dcoppa
8bad8255ca Comments in patches (forgotten in previous commit) 2011-06-22 13:10:57 +00:00
dcoppa
bd6484d8bf Fix a runtime CPU detection bug in libswscale that was messing up
thumbnails creation on amd64 (thumbnails had purple and green bars
all over them).

From upstream git commit 93c28a55fd84280d97c3c0dd7b0d546043242c34

OK Brad (MAINTAINER)
2011-06-22 08:10:26 +00:00
sthen
9c15c7bb38 - clarify license marker
- consistently use ${...} not $(...)
from Brad
2011-06-04 09:20:36 +00:00
sthen
d6629d69dc Update FFmpeg to 20110408 snapshot.
- Enable WebM encoding.
- Stop stripping the shared libraries which explains why I was
   seeing no symbol table with the shared libraries.
- Build all of FFmpeg with -fomit-frame-pointer on i386 instead of
   hacking the various Makefile's and having to add more files as
   further updates are made. Use default CFLAGS (-O2) on i386 now too
   instead of overriding with -O.
- Remove the UINT64_C hack.
- Update HOMEPAGE to use the ffmpeg.org domain.
- Various other cleaning up and fixes for the port.

From Brad, ok dcoppa@
2011-04-12 22:59:07 +00:00
edd
2e5b72a620 Update to a newer snapshot of ffmpeg. Maintainer timed out.
OK jakemsr@, landry@
2011-03-29 20:01:43 +00:00
jasper
2c109b968d Security fixes for CVE-2010-4704, CVE-2010-4705 and CVE-2011-0480.
ok brad (MAINTAINER), naddy@
2011-02-12 10:48:56 +00:00
jasper
90847ee882 - remove USE_GROFF=Yes, manpages checked by brad.
from brad (MAINTAINER)
2011-01-15 10:56:51 +00:00
espie
9ff53f35ab remaining WANTLIB go .>= to >= 2010-11-22 10:16:08 +00:00
jasper
a727f252b3 - adjust after recent schroedinger update
from brad
2010-11-19 08:59:32 +00:00
espie
88d20077a4 new depends 2010-11-17 08:05:12 +00:00
ajacoutot
ff07e285bc Remove USE_X11. 2010-10-24 20:58:58 +00:00
espie
0f681543b5 USE_GROFF=Yes 2010-10-18 18:13:12 +00:00