mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:49:09 +08:00
[ avcpp ] Update version (#18436)
* remove avcpp patch that was accepted upstream. revert port version * update versions
This commit is contained in:
parent
9b96f7fce0
commit
1559315ea6
@ -1,14 +0,0 @@
|
||||
diff --git a/src/avutils.h b/src/avutils.h
|
||||
index 29c4ae0..3bfaf82 100644
|
||||
--- a/src/avutils.h
|
||||
+++ b/src/avutils.h
|
||||
@@ -42,7 +42,7 @@ namespace av {
|
||||
// Basic FFmpeg constants
|
||||
constexpr auto NoPts = static_cast<int64_t>(AV_NOPTS_VALUE);
|
||||
constexpr auto TimeBase = static_cast<int>(AV_TIME_BASE);
|
||||
-constexpr auto TimeBaseQ = static_cast<AVRational>(AV_TIME_BASE_Q);
|
||||
+constexpr auto TimeBaseQ = AVRational{1, AV_TIME_BASE};
|
||||
|
||||
|
||||
template<typename R, typename T>
|
||||
|
@ -4,11 +4,10 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO h4tr3d/avcpp
|
||||
REF d1a39cf6e1ccfe78ababe5a65d02d57f1e65bea1
|
||||
SHA512 48eb3bdd8729c9f61c53b152f0bb7283b40d2c8f043a1d6bb4fb1fadb0ceebf754822eeb7fa85edcacbca267eea0999dd9e78e378b04984db6dc25f9a6fab7d0
|
||||
REF fa9a1ef70bbf9e9f3963fbaa4540e8aac4ad8daa
|
||||
SHA512 e0821d8e01e0fdb28d58564c87cafa7f9349b1b31dc90d4f2ea4c22c51fc16555f4a01f30d7575798138067921a011faa10e4d2ac2ac02acdf224546724e0338
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
0001-remove-problematic-compound-literal.patch
|
||||
0002-av_init_packet_deprecation.patch
|
||||
)
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "avcpp",
|
||||
"version-date": "2021-05-06",
|
||||
"port-version": 1,
|
||||
"version-date": "2021-06-14",
|
||||
"description": "Wrapper for the FFmpeg that simplify usage it from C++ projects.",
|
||||
"homepage": "https://github.com/h4tr3d/avcpp",
|
||||
"dependencies": [
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b4e6dcc1706046f3b2b6fca62df98bbc7696eb19",
|
||||
"version-date": "2021-06-14",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "102cfc337c2a08e57246c399812a540315ae4531",
|
||||
"version-date": "2021-05-06",
|
||||
|
@ -221,8 +221,8 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"avcpp": {
|
||||
"baseline": "2021-05-06",
|
||||
"port-version": 1
|
||||
"baseline": "2021-06-14",
|
||||
"port-version": 0
|
||||
},
|
||||
"avisynthplus": {
|
||||
"baseline": "3.7.0",
|
||||
|
Loading…
Reference in New Issue
Block a user