VirtualBox

source: vbox/trunk/src/libs/ffmpeg-20060710/build_avopt@ 11537

Last change on this file since 11537 was 5776, checked in by vboxsync, 17 years ago

ffmpeg: exported to OSE

  • Property svn:executable set to *
File size: 387 bytes
Line 
1#!/bin/sh
2sed 's/unsigned//g' |\
3 sed 's/enum//g' |\
4 egrep '^ *(int|float|double|AVRational|char *\*) *[a-zA-Z_0-9]* *;' |\
5 sed 's/^ *\([^ ]*\)[ *]*\([^;]*\);.*$/{"\2", NULL, OFFSET(\2), FF_OPT_TYPE_\U\1, DEFAULT, \1_MIN, \1_MAX},/' |\
6 sed 's/AVRATIONAL_M/INT_M/g'|\
7 sed 's/TYPE_AVRATIONAL/TYPE_RATIONAL/g'|\
8 sed 's/FLOAT_M/FLT_M/g'|\
9 sed 's/FF_OPT_TYPE_CHAR/FF_OPT_TYPE_STRING/g'
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette