Mercurial > libavformat.hg
changeset 3527:32840cdd83b3 libavformat
fix size of header data
author | stefang |
---|---|
date | Fri, 27 Jun 2008 21:42:08 +0000 |
parents | ae0885c44048 |
children | 290a8617ed9d |
files | ffmenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ffmenc.c Fri Jun 27 21:29:11 2008 +0000 +++ b/ffmenc.c Fri Jun 27 21:42:08 2008 +0000 @@ -189,7 +189,7 @@ 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;