Mercurial > libavformat.hg
diff 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 |
line wrap: on
line diff
--- a/avformat.h Mon Dec 15 14:45:37 2003 +0000 +++ b/avformat.h Tue Dec 16 11:21:25 2003 +0000 @@ -5,7 +5,7 @@ extern "C" { #endif -#define LIBAVFORMAT_BUILD 4610 +#define LIBAVFORMAT_BUILD 4611 #define LIBAVFORMAT_VERSION_INT FFMPEG_VERSION_INT #define LIBAVFORMAT_VERSION FFMPEG_VERSION @@ -225,9 +225,7 @@ /* av_read_frame() support */ int need_parsing; struct AVCodecParserContext *parser; - int got_frame; - int64_t cur_frame_pts; - int64_t cur_frame_dts; + int64_t cur_dts; int last_IP_duration; /* av_seek_frame() support */