Commit 286e5071 authored by stefang's avatar stefang

fix size of header data


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14015 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9cac0660
...@@ -189,7 +189,7 @@ static int ffm_write_header(AVFormatContext *s) ...@@ -189,7 +189,7 @@ static int ffm_write_header(AVFormatContext *s)
static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt) static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
{ {
int64_t dts; int64_t dts;
uint8_t header[FRAME_HEADER_SIZE]; uint8_t header[FRAME_HEADER_SIZE+4];
int header_size = FRAME_HEADER_SIZE; int header_size = FRAME_HEADER_SIZE;
dts = s->timestamp + pkt->dts; 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