comparison avformat.h @ 334:7f089db11f9a libavformat

fixed incorrect PTS/DTS logic in MPEG video case (caused rare PTS glitches if start codes were between two PES packets)
author bellard
date Tue, 16 Dec 2003 11:21:25 +0000
parents ff595fc022ff
children 6f50cb0ead51
comparison
equal deleted inserted replaced
333:e3beadc2ed83 334:7f089db11f9a
3 3
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 #define LIBAVFORMAT_BUILD 4610 8 #define LIBAVFORMAT_BUILD 4611
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
223 int64_t duration; 223 int64_t duration;
224 224
225 /* av_read_frame() support */ 225 /* av_read_frame() support */
226 int need_parsing; 226 int need_parsing;
227 struct AVCodecParserContext *parser; 227 struct AVCodecParserContext *parser;
228 int got_frame; 228
229 int64_t cur_frame_pts;
230 int64_t cur_frame_dts;
231 int64_t cur_dts; 229 int64_t cur_dts;
232 int last_IP_duration; 230 int last_IP_duration;
233 /* av_seek_frame() support */ 231 /* av_seek_frame() support */
234 AVIndexEntry *index_entries; /* only used if the format does not 232 AVIndexEntry *index_entries; /* only used if the format does not
235 support seeking natively */ 233 support seeking natively */