This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libavformat/movenc.c b/libavformat/movenc.c | |
--- a/libavformat/movenc.c | |
+++ b/libavformat/movenc.c | |
@@ -5208,26 +5208,46 @@ static void enable_tracks(AVFormatContext *s) | |
st->codecpar->codec_type >= AVMEDIA_TYPE_NB) | |
continue; | |
+ // note the first stream number for each type | |
if (first[st->codecpar->codec_type] < 0) | |
first[st->codecpar->codec_type] = i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## based on https://github.com/lioonline/OS-X-El-Capitan | |
## pkg file link - http://osxapps.itunes.apple.com/apple-assets-us-std-000001/Purple30/v4/cc/62/24/cc62243b-7ed7-74cd-d47e-374bc470ecdf/diu414781394017735583.pkg | |
# !!IMPORTANT!! Run this from folder where you have downloaded or copied diu414781394017735583.pkg file | |
#create a tmp folder | |
mkdir sierraRoot && cd sierraRoot | |
#create a folder structure to match apple server | |
sudo mkdir -p ./apple-assets-us-std-000001/Purple30/v4/cc/62/24/cc62243b-7ed7-74cd-d47e-374bc470ecdf/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import hashlib | |
from OpenSSL.crypto import * | |
def main(): | |
if(len(sys.argv) != 4): | |
print sys.argv[0] + " /path/to/ssl.crt /path/to/ssl.key ProcessedMachineIdentifier" | |
sys.exit(0) |