comparison avformat.h @ 1778:d8c6b719a070 libavformat

add key field to AVFormatContext for de/encryption support, patch by Reimar
author bcoudurier
date Sun, 11 Feb 2007 12:37:28 +0000
parents 5d72afc6c8aa
children eb16c64144ee
comparison
equal deleted inserted replaced
1777:2f59a73884af 1778:d8c6b719a070
23 23
24 #ifdef __cplusplus 24 #ifdef __cplusplus
25 extern "C" { 25 extern "C" {
26 #endif 26 #endif
27 27
28 #define LIBAVFORMAT_VERSION_INT ((51<<16)+(8<<8)+0) 28 #define LIBAVFORMAT_VERSION_INT ((51<<16)+(9<<8)+0)
29 #define LIBAVFORMAT_VERSION 51.8.0 29 #define LIBAVFORMAT_VERSION 51.9.0
30 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT 30 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
31 31
32 #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) 32 #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
33 33
34 #include <time.h> 34 #include <time.h>
377 377
378 /** 378 /**
379 * maximum duration in AV_TIME_BASE units over which the input should be analyzed in av_find_stream_info() 379 * maximum duration in AV_TIME_BASE units over which the input should be analyzed in av_find_stream_info()
380 */ 380 */
381 int max_analyze_duration; 381 int max_analyze_duration;
382
383 const uint8_t *key;
384 int keylen;
382 } AVFormatContext; 385 } AVFormatContext;
383 386
384 typedef struct AVPacketList { 387 typedef struct AVPacketList {
385 AVPacket pkt; 388 AVPacket pkt;
386 struct AVPacketList *next; 389 struct AVPacketList *next;