use a dynamic ByteIOContext instead of using the lavf buffer

this makes the code work with big packets, it is also simpler and saves
a byte or 2

Originally committed as revision 10015 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2007-08-09 12:38:24 +00:00
parent 0809b51e52
commit 8d9a3f7e21
2 changed files with 16 additions and 48 deletions

View File

@ -80,8 +80,8 @@ typedef struct {
typedef struct {
AVFormatContext *avf;
int written_packet_size;
int64_t packet_start;
// int written_packet_size;
// int64_t packet_start;
FrameCode frame_code[256];
uint64_t next_startcode; ///< stores the next startcode if it has already been parsed but the stream is not seekable
StreamContext *stream;