diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-17 17:41:24 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-12-17 17:41:24 +0000 |
commit | 841f39a7f3b7ea7091d33785b395606ca5150b07 (patch) | |
tree | aeb01fb1c29643dfeeeabced1b74abb31c81cdac /libavformat/utils.c | |
parent | 3426d575bf46edc0f52d15f7e7c1d199e8688faa (diff) | |
download | ffmpeg-841f39a7f3b7ea7091d33785b395606ca5150b07.tar.gz |
Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 7ab8d7e1e6..e21ef7abb0 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -323,6 +323,7 @@ static const AVOption options[]={ {"track", " set the track number", OFFSET(track), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, E}, {"year", "set the year", OFFSET(year), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, E}, {"analyzeduration", "how many microseconds are analyzed to estimate duration", OFFSET(max_analyze_duration), FF_OPT_TYPE_INT, 3*AV_TIME_BASE, 0, INT_MAX, D}, +{"cryptokey", "decryption key", OFFSET(key), FF_OPT_TYPE_BINARY, 0, 0, 0, D}, {NULL}, }; |