Browse Source

add key field to AVFormatContext for de/encryption support, patch by Reimar

Originally committed as revision 7924 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Reimar Döffinger Baptiste Coudurier 18 years ago
parent
commit
c964c2c745
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      libavformat/avformat.h

+ 5
- 2
libavformat/avformat.h View File

@@ -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 @@ typedef struct AVFormatContext {
* 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 {


Loading…
Cancel
Save