# HG changeset patch # User bcoudurier # Date 1171197448 0 # Node ID d8c6b719a0700b98f7ee94870126abbb9d53aa3b # Parent 2f59a73884af5981d1001aa256b797922fc62894 add key field to AVFormatContext for de/encryption support, patch by Reimar diff -r 2f59a73884af -r d8c6b719a070 avformat.h --- a/avformat.h Sat Feb 10 22:25:52 2007 +0000 +++ b/avformat.h Sun Feb 11 12:37:28 2007 +0000 @@ -25,8 +25,8 @@ extern "C" { #endif -#define LIBAVFORMAT_VERSION_INT ((51<<16)+(8<<8)+0) -#define LIBAVFORMAT_VERSION 51.8.0 +#define LIBAVFORMAT_VERSION_INT ((51<<16)+(9<<8)+0) +#define LIBAVFORMAT_VERSION 51.9.0 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) @@ -379,6 +379,9 @@ * maximum duration in AV_TIME_BASE units over which the input should be analyzed in av_find_stream_info() */ int max_analyze_duration; + + const uint8_t *key; + int keylen; } AVFormatContext; typedef struct AVPacketList {