[FFmpeg-cvslog] r14015 - trunk/libavformat/ffmenc.c

stefang subversion
Fri Jun 27 23:42:08 CEST 2008


Author: stefang
Date: Fri Jun 27 23:42:08 2008
New Revision: 14015

Log:
fix size of header data


Modified:
   trunk/libavformat/ffmenc.c

Modified: trunk/libavformat/ffmenc.c
==============================================================================
--- trunk/libavformat/ffmenc.c	(original)
+++ trunk/libavformat/ffmenc.c	Fri Jun 27 23:42:08 2008
@@ -189,7 +189,7 @@ static int ffm_write_header(AVFormatCont
 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;




More information about the ffmpeg-cvslog mailing list