Compare commits
15 commits
5160726ce0
...
80b3183143
Author | SHA1 | Date | |
---|---|---|---|
|
80b3183143 | ||
|
c532332a09 | ||
|
d7ff18e034 | ||
|
786c188d00 | ||
|
6b6d429d1d | ||
|
53414059ef | ||
|
65c97079d2 | ||
|
dacabf034e | ||
|
1b05ea37e2 | ||
|
9bfdf373e9 | ||
|
f690ffd9a9 | ||
|
dc32830263 | ||
|
efc77b356b | ||
|
3a930cc474 | ||
|
44dbe0fc15 |
2 changed files with 25 additions and 2 deletions
21
Android.bp
21
Android.bp
|
@ -1,3 +1,24 @@
|
||||||
|
package {
|
||||||
|
default_applicable_licenses: ["external_tinycompress_license"],
|
||||||
|
}
|
||||||
|
|
||||||
|
// Added automatically by a large-scale-change
|
||||||
|
//
|
||||||
|
// large-scale-change filtered out the below license kinds as false-positives:
|
||||||
|
// SPDX-license-identifier-LGPL
|
||||||
|
// SPDX-license-identifier-LGPL-2.1
|
||||||
|
// See: http://go/android-license-faq
|
||||||
|
license {
|
||||||
|
name: "external_tinycompress_license",
|
||||||
|
visibility: [":__subpackages__"],
|
||||||
|
license_kinds: [
|
||||||
|
"SPDX-license-identifier-BSD",
|
||||||
|
],
|
||||||
|
license_text: [
|
||||||
|
"NOTICE",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
||||||
cc_library_shared {
|
cc_library_shared {
|
||||||
name: "libtinycompress",
|
name: "libtinycompress",
|
||||||
vendor: true,
|
vendor: true,
|
||||||
|
|
|
@ -574,9 +574,11 @@ bool is_codec_supported(unsigned int card, unsigned int device,
|
||||||
ops = &compr_hw_ops;
|
ops = &compr_hw_ops;
|
||||||
|
|
||||||
fd = ops->open(card, device, flags, &data, NULL);
|
fd = ops->open(card, device, flags, &data, NULL);
|
||||||
if (fd < 0)
|
if (fd < 0) {
|
||||||
return oops(&bad_compress, errno, "cannot open card %u, device %u",
|
oops(&bad_compress, errno, "cannot open card %u, device %u",
|
||||||
card, device);
|
card, device);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
ret = _is_codec_type_supported(ops, data, codec);
|
ret = _is_codec_type_supported(ops, data, codec);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue