fix size of header data
authorStefan Gehrer <stefan.gehrer@gmx.de>
Fri, 27 Jun 2008 21:42:08 +0000 (21:42 +0000)
committerStefan Gehrer <stefan.gehrer@gmx.de>
Fri, 27 Jun 2008 21:42:08 +0000 (21:42 +0000)
Originally committed as revision 14015 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/ffmenc.c

index 7e197a5..1e78306 100644 (file)
@@ -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;