From 635fbcb17f8f12d805dbefe4665a5b78e0d1618a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 20 Feb 2008 20:24:38 +0000 Subject: revert 12156 Log: Make timestamp interpolation work with mpeg2 field pictures. Cleaner/simpler solutions are welcome. ---- A IMHO cleaner solution has been implemented. Originally committed as revision 12162 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/avformat.h') diff --git a/libavformat/avformat.h b/libavformat/avformat.h index cc09e02776..06396eebff 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -337,8 +337,8 @@ typedef struct AVStream { struct AVCodecParserContext *parser; int64_t cur_dts; - int last_IP_duration[2]; - int64_t last_IP_pts[2]; + int last_IP_duration; + int64_t last_IP_pts; /* av_seek_frame() support */ AVIndexEntry *index_entries; /**< only used if the format does not support seeking natively */ -- cgit v1.2.3