aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Gehrer <stefan.gehrer@gmx.de>2008-06-27 21:42:08 +0000
committerStefan Gehrer <stefan.gehrer@gmx.de>2008-06-27 21:42:08 +0000
commit6d083dd7e9380664c971d4500c710aa9d7844c7a (patch)
tree50113f6e080934b1e1a9e3d73846fa2c5e51737a
parentae10e1fd3d14074030732efccb3285b1259ecdd7 (diff)
downloadffmpeg-6d083dd7e9380664c971d4500c710aa9d7844c7a.tar.gz
fix size of header data
Originally committed as revision 14015 to svn://svn.ffmpeg.org/ffmpeg/trunk
-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;