fix size of header data

Originally committed as revision 14015 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefan Gehrer 2008-06-27 21:42:08 +00:00
parent ae10e1fd3d
commit 6d083dd7e9
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ static int ffm_write_header(AVFormatContext *s)
static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
{
int64_t dts;
uint8_t header[FRAME_HEADER_SIZE];
uint8_t header[FRAME_HEADER_SIZE+4];
int header_size = FRAME_HEADER_SIZE;
dts = s->timestamp + pkt->dts;