# HG changeset patch # User stefang # Date 1214602928 0 # Node ID 32840cdd83b3c7c4eadc60247907a695c9618568 # Parent ae0885c440481cb5eb8e55477d86d7a05a537ca7 fix size of header data diff -r ae0885c44048 -r 32840cdd83b3 ffmenc.c --- 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;