diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-12 17:32:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-23 11:44:14 +0100 |
commit | f930cbc521c431a1322f5b1cecc95686aa56a043 (patch) | |
tree | 7dc2b6ad8a05c48050437471ec99f95adc820a81 /meta/recipes-multimedia/ffmpeg | |
parent | 7408dbccb2025bf8ac1df1b251778582bad9e940 (diff) | |
download | poky-f930cbc521c431a1322f5b1cecc95686aa56a043.tar.gz |
ffmpeg: Upgrade to 3.3.2 stable
* Fix mips/mips64 along the way, it was broken in 3.3 as well
(From OE-Core rev: ace103370746b7d8ae38701d2ef472f53a68edfb)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/ffmpeg')
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch | 44 | ||||
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb (renamed from meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb) | 5 |
2 files changed, 47 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch new file mode 100644 index 0000000000..3f8224aa07 --- /dev/null +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From f34c567045bea5a7ded9bcfa8e785cfd24cc7dde Mon Sep 17 00:00:00 2001 | ||
2 | From: Shivraj Patil <shivraj.patil@imgtec.com> | ||
3 | Date: Tue, 4 Apr 2017 18:56:01 +0530 | ||
4 | Subject: [PATCH] build fix for mips | ||
5 | |||
6 | Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> | ||
7 | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||
8 | --- | ||
9 | Upstream-Status: Backport | ||
10 | |||
11 | libavcodec/mips/hevcpred_init_mips.c | 3 ++- | ||
12 | libavcodec/mips/hevcpred_msa.c | 2 +- | ||
13 | 2 files changed, 3 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/libavcodec/mips/hevcpred_init_mips.c b/libavcodec/mips/hevcpred_init_mips.c | ||
16 | index 331cfac115..e987698d66 100644 | ||
17 | --- a/libavcodec/mips/hevcpred_init_mips.c | ||
18 | +++ b/libavcodec/mips/hevcpred_init_mips.c | ||
19 | @@ -18,7 +18,8 @@ | ||
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | |||
23 | -#include "libavcodec/hevc.h" | ||
24 | +#include "config.h" | ||
25 | +#include "libavutil/attributes.h" | ||
26 | #include "libavcodec/mips/hevcpred_mips.h" | ||
27 | |||
28 | #if HAVE_MSA | ||
29 | diff --git a/libavcodec/mips/hevcpred_msa.c b/libavcodec/mips/hevcpred_msa.c | ||
30 | index 6a3b2815fd..963c64c861 100644 | ||
31 | --- a/libavcodec/mips/hevcpred_msa.c | ||
32 | +++ b/libavcodec/mips/hevcpred_msa.c | ||
33 | @@ -18,7 +18,7 @@ | ||
34 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
35 | */ | ||
36 | |||
37 | -#include "libavcodec/hevc.h" | ||
38 | +#include "libavcodec/hevcdec.h" | ||
39 | #include "libavutil/mips/generic_macros_msa.h" | ||
40 | #include "hevcpred_mips.h" | ||
41 | |||
42 | -- | ||
43 | 2.13.1 | ||
44 | |||
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb index c2b570e85c..f4bb2ba1f5 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb | |||
@@ -25,9 +25,10 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
25 | 25 | ||
26 | SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ | 26 | SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ |
27 | file://mips64_cpu_detection.patch \ | 27 | file://mips64_cpu_detection.patch \ |
28 | file://0001-build-fix-for-mips.patch \ | ||
28 | " | 29 | " |
29 | SRC_URI[md5sum] = "368f1fff4bdadaf2823934cc0aadd71d" | 30 | SRC_URI[md5sum] = "d6c09c84e3d0d9ca8a51f481da660603" |
30 | SRC_URI[sha256sum] = "599e7f7c017221c22011c4037b88bdcd1c47cd40c1e466838bc3c465f3e9569d" | 31 | SRC_URI[sha256sum] = "1998de1ab32616cbf2ff86efc3f1f26e76805ec5dc51e24c041c79edd8262785" |
31 | 32 | ||
32 | # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 | 33 | # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 |
33 | ARM_INSTRUCTION_SET = "arm" | 34 | ARM_INSTRUCTION_SET = "arm" |