Mercurial > libavcodec.hg
comparison avcodec.h @ 6987:2dde03056bd6 libavcodec
Move new field to the end to avoid ABI breakage, I thought this struct
is not used from the outside but after rethinking it of course has to be
used if someone wants to use a parser without a lavf demuxer.
| author | michael |
|---|---|
| date | Mon, 02 Jun 2008 14:23:25 +0000 |
| parents | 4257fdcf664e |
| children | 91a3324f4abc |
comparison
equal
deleted
inserted
replaced
| 6986:6ef755b234c2 | 6987:2dde03056bd6 |
|---|---|
| 2835 int fetch_timestamp; | 2835 int fetch_timestamp; |
| 2836 | 2836 |
| 2837 #define AV_PARSER_PTS_NB 4 | 2837 #define AV_PARSER_PTS_NB 4 |
| 2838 int cur_frame_start_index; | 2838 int cur_frame_start_index; |
| 2839 int64_t cur_frame_offset[AV_PARSER_PTS_NB]; | 2839 int64_t cur_frame_offset[AV_PARSER_PTS_NB]; |
| 2840 int64_t cur_frame_end[AV_PARSER_PTS_NB]; | |
| 2841 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; | 2840 int64_t cur_frame_pts[AV_PARSER_PTS_NB]; |
| 2842 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; | 2841 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; |
| 2843 | 2842 |
| 2844 int flags; | 2843 int flags; |
| 2845 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 | 2844 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
| 2846 | 2845 |
| 2847 int64_t offset; ///< byte offset from starting packet start | 2846 int64_t offset; ///< byte offset from starting packet start |
| 2847 int64_t cur_frame_end[AV_PARSER_PTS_NB]; | |
| 2848 } AVCodecParserContext; | 2848 } AVCodecParserContext; |
| 2849 | 2849 |
| 2850 typedef struct AVCodecParser { | 2850 typedef struct AVCodecParser { |
| 2851 int codec_ids[5]; /* several codec IDs are permitted */ | 2851 int codec_ids[5]; /* several codec IDs are permitted */ |
| 2852 int priv_data_size; | 2852 int priv_data_size; |
