Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/avcodec.h Mon Sep 27 21:31:29 2010 +0000 +++ b/avcodec.h Mon Sep 27 22:17:58 2010 +0000 @@ -3738,6 +3738,8 @@ int flags; #define PARSER_FLAG_COMPLETE_FRAMES 0x0001 #define PARSER_FLAG_ONCE 0x0002 +/// Set if the parser has a valid file offset +#define PARSER_FLAG_FETCHED_OFFSET 0x0004 int64_t offset; ///< byte offset from starting packet start int64_t cur_frame_end[AV_PARSER_PTS_NB];