Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
ROOT=$HOME/tmp/mingw64/root
sudo apt-get update -qq && sudo apt-get install -qqy \
git wget bzip2 file libwine-dev unzip libtool pkg-config cmake \
build-essential automake texinfo ragel yasm p7zip-full autopoint \
gettext dos2unix zip wine g++-mingw-w64-i686 gperf
\
TARGET_TUPLE=x86_64-w64-mingw32 \
TOOLCHAIN_PREFIX=$HOME/tmp/mingw64/out/gcc-$TARGET_TUPLE \
vlc_wininstall()
{
host=$1
winuser=$2
vlcgit=$3
[ ! -z $host -a ! -z $winuser -a ! -z $vlcgit ] && \
make -j8 package-win-common && \
rsync -av $vlcgit $host:/mnt/c/Users/$winuser/Desktop/ --delete && \
ssh $host /mnt/c/Users/$winuser/Desktop/$vlcgit/vlc-cache-gen.exe /mnt/c/Users/$winuser/Desktop/$vlcgit/plugins
}
From b1bb5eabd61b35f7566e763e15ca537228bb9139 Mon Sep 17 00:00:00 2001
From: Thomas Guillem <thomas@gllm.fr>
Date: Tue, 12 Dec 2017 15:57:01 +0100
Subject: [PATCH] wip
---
modules/audio_output/coreaudio_common.c | 20 +++++++++++++++++---
modules/audio_output/coreaudio_common.h | 1 +
2 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/libavcodec/hwaccel.h b/libavcodec/hwaccel.h
index ae55527c2f..c3a993ed45 100644
--- a/libavcodec/hwaccel.h
+++ b/libavcodec/hwaccel.h
@@ -47,7 +47,8 @@ typedef struct AVCodecHWConfigInternal {
.public = { \
.pix_fmt = AV_PIX_FMT_ ## format, \
.methods = AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX | \
- AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX, \
+ AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX | \
#!/bin/bash
echo "*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***"
echo "Build fingerprint: 'coucou tu veux voir mon crash ?'"
echo "pid: 0, tid: 0 /data/local/ndk-tests/crasher <<<"
i=0
while read line; do
echo " #`printf "%02d " $i` `echo $line | sed -e "s/native: //" | sed -e "s/\.so \(.*\)/.so/"`"
let "i=$i + 1"
done < "${1:-/dev/stdin}"
#if 0
# Test program that crashes with nVidia drivers
# Reproduce with
# $ make -f egl_test.c && ./egl_test 2
# The int argument (2 here) is the number of time egl display will be
# opened/closed (./egl_test 1 will not crash)
egl_test: egl_test.c
gcc -o egl_test egl_test.c -g -O1 -I/usr/include/X11 -lX11 -lEGL -lGL -lxcb