Skip to content

Instantly share code, notes, and snippets.

From 7f2f1b9ae6e18ce778349ed34ebfefacbfd6ab44 Mon Sep 17 00:00:00 2001
From: Yasuhiro Ikeda <wipple625@gmail.com>
Date: Mon, 4 Feb 2013 08:14:18 +0900
Subject: [PATCH 1/1] Shut up GCC warnings in fprintf
---
boxdumper.c | 2 +-
utils.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
From 90c26b098d026fcd9cf189f1e38f69c1725332fc Mon Sep 17 00:00:00 2001
From: Yasuhiro Ikeda <wipple625@gmail.com>
Date: Mon, 4 Feb 2013 08:14:18 +0900
Subject: [PATCH 1/1] Suppress warnings shown by some versions of GCC
---
boxdumper.c | 2 +-
utils.c | 2 +-
vc1.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
$ make 1>/dev/null
utils.c: In function ‘lsmash_ifprintf’:
utils.c:821: warning: format not a string literal and no format arguments
utils.c:821: warning: format not a string literal and no format arguments
In file included from vc1.c:35:
vc1.h: In function ‘vc1_check_next_start_code_suffix’:
vc1.h:132: warning: comparison is always true due to limited range of data type
vc1.h:132: warning: comparison is always true due to limited range of data type
In file included from importer.c:3012:
vc1.h: In function ‘vc1_check_next_start_code_suffix’:
$ avprobe lsmash.mp4
avprobe version v9-370-g6c1a7d0, Copyright (c) 2007-2013 the Libav developers
built on Feb 1 2013 21:16:14 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'lsmash.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: mp42mp41isomavc1
creation_time : 2013-02-01 13:51:46
Duration: 00:00:00.-3, start: 0.000000, bitrate: -38475 kb/s
From 879ec7f63ab97c27eecf692e78a81e67c2e3a868 Mon Sep 17 00:00:00 2001
From: Yasuhiro Ikeda <wipple625@gmail.com>
Date: Fri, 1 Feb 2013 20:53:20 +0900
Subject: [PATCH 1/1] importer: Fix return value in
mp4sys_importer_get_last_delta()
---
importer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
" QFixHowm{{{
NeoBundle 'fuenor/qfixhowm'
" QFixHowm関連の設定を無効に
let QFixHowm_Convert = 0
" マップリーダー設定
let qfixmemo_mapleader = ','
" 外部grep使用
let mygrepprg='grep'
" ファイルフォーマット関係
let qfixmemo_fileencoding = 'utf-8'
git archive master --format=tar | gzip > gpac-git-master-$(git rev-list master -1 --abbrev-commit).tgz
git archive master --format=zip > gpac-git-master-$(git rev-list master -1 --abbrev-commit).zip
cc_check() {
if [ -z "$3" ]; then
if [ -z "$1$2" ]; then
log_check "whether $CC works"
elif [ -z "$1" ]; then
log_check "for $2"
else
log_check "for $1"
fi
elif [ -z "$1" ]; then
GPAC_LIBS="-lgpac_static"
if [ $SYS = WINDOWS ]; then
GPAC_LIBS="$GPAC_LIBS -lwinmm"
fi
if [ "$gpac" = "auto" ] ; then
gpac="no"
if cc_check gpac/isomedia.h "$GPAC_LIBS" ; then
if cc_check gpac/isomedia.h "$GPAC_LIBS" "gf_isom_set_pixel_aspect_ratio(0,0,0,0,0);" ; then
gpac="yes"
else