changeset 2828:ff463ed64256 libavformat

Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
author reimar
date Mon, 17 Dec 2007 17:41:24 +0000
parents f717dd23fc23
children 51790e849ad3
files utils.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Mon Dec 17 09:28:46 2007 +0000
+++ b/utils.c	Mon Dec 17 17:41:24 2007 +0000
@@ -323,6 +323,7 @@
 {"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},
 };