Mercurial > libavformat.hg
comparison avformat.h @ 820:feca73904e67 libavformat
changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
author | michael |
---|---|
date | Sun, 17 Jul 2005 22:24:36 +0000 |
parents | b1d7ee1c792d |
children | e3a3fe90b62f |
comparison
equal
deleted
inserted
replaced
819:a6c035e7f429 | 820:feca73904e67 |
---|---|
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 #define LIBAVFORMAT_BUILD 4628 | 8 #define LIBAVFORMAT_BUILD 4629 |
9 | 9 |
10 #define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT | 10 #define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT |
11 #define LIBAVFORMAT_VERSION FFMPEG_VERSION | 11 #define LIBAVFORMAT_VERSION FFMPEG_VERSION |
12 #define LIBAVFORMAT_IDENT "FFmpeg" FFMPEG_VERSION "b" AV_STRINGIFY(LIBAVFORMAT_BUILD) | 12 #define LIBAVFORMAT_IDENT "FFmpeg" FFMPEG_VERSION "b" AV_STRINGIFY(LIBAVFORMAT_BUILD) |
13 | 13 |
214 } AVIndexEntry; | 214 } AVIndexEntry; |
215 | 215 |
216 typedef struct AVStream { | 216 typedef struct AVStream { |
217 int index; /* stream index in AVFormatContext */ | 217 int index; /* stream index in AVFormatContext */ |
218 int id; /* format specific stream id */ | 218 int id; /* format specific stream id */ |
219 AVCodecContext codec; /* codec context */ | 219 AVCodecContext *codec; /* codec context */ |
220 /** | 220 /** |
221 * real base frame rate of the stream. | 221 * real base frame rate of the stream. |
222 * for example if the timebase is 1/90000 and all frames have either | 222 * for example if the timebase is 1/90000 and all frames have either |
223 * approximately 3600 or 1800 timer ticks then r_frame_rate will be 50/1 | 223 * approximately 3600 or 1800 timer ticks then r_frame_rate will be 50/1 |
224 */ | 224 */ |