summaryrefslogtreecommitdiff
path: root/libavformat/ffmenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ffmenc.c')
-rw-r--r--libavformat/ffmenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c
index 7e197a57ae..1e78306b7d 100644
--- a/libavformat/ffmenc.c
+++ b/libavformat/ffmenc.c
@@ -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;