get-3gpp-amr.sh

来自「symbian下ffmpeg编程。。废了好大劲下下来的!。」· Shell 代码 · 共 33 行

SH
33
字号
#!/bin/shif [ -f amr_float/interf_dec.c ]; then	echo "AMR Reference code already seems to be present"	exit 0fimkdir -p amr_floatcd amr_floatwget http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-700.zip || exit 1unzip 26104-700.zip 26104-700_ANSI_C_source_code.zip || exit 1unzip 26104-700_ANSI_C_source_code.zip || exit 1mv c-code/* . || exit 1chmod u+w *.c *.h makefile.* readme.txt || exit 1rmdir c-code || exit 1mv typedef.h typedef.h.orig || exit 1cat <<EOF > typedef.h || exit 1#ifndef _TYPEDEF_H#define _TYPEDEF_H#include <stdint.h>typedef int8_t Word8;typedef uint8_t UWord8;typedef int16_t Word16;typedef int32_t Word32;typedef float Float32;typedef double Float64;#endifEOF

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?