Commit 6d083dd7 authored by Stefan Gehrer's avatar Stefan Gehrer

fix size of header data

Originally committed as revision 14015 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ae10e1fd
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment