Mercurial > libavcodec.hg
comparison avcodec.h @ 12529:9a3f2beae2a9 libavcodec
Fix index_entries pos:
It was being set wrong for files with data_offset > 0
Patch by Michael Chinen, mchinen gmail
author | cehoyos |
---|---|
date | Mon, 27 Sep 2010 22:17:58 +0000 |
parents | 98606b84a7a4 |
children |
comparison
equal
deleted
inserted
replaced
12528:f4caff0e1e10 | 12529:9a3f2beae2a9 |
---|---|
3736 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; | 3736 int64_t cur_frame_dts[AV_PARSER_PTS_NB]; |
3737 | 3737 |
3738 int flags; | 3738 int flags; |
3739 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 | 3739 #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 |
3740 #define PARSER_FLAG_ONCE 0x0002 | 3740 #define PARSER_FLAG_ONCE 0x0002 |
3741 /// Set if the parser has a valid file offset | |
3742 #define PARSER_FLAG_FETCHED_OFFSET 0x0004 | |
3741 | 3743 |
3742 int64_t offset; ///< byte offset from starting packet start | 3744 int64_t offset; ///< byte offset from starting packet start |
3743 int64_t cur_frame_end[AV_PARSER_PTS_NB]; | 3745 int64_t cur_frame_end[AV_PARSER_PTS_NB]; |
3744 | 3746 |
3745 /*! | 3747 /*! |