From 6a7eba1f0756170dd1d3f2c40bfaf30ba39181b1 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 21 Aug 2006 13:57:12 +0000 Subject: [PATCH] init buffer Originally committed as revision 6040 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/gxfenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index 2ce99e0df3..8ae61931dc 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -492,6 +492,7 @@ static int gxf_write_umf_media_description(ByteIOContext *pb, GXFContext *ctx) offset_t startpos, curpos; int path_size = strlen(ES_NAME_PATTERN); + memset(buffer, 0, 88); startpos = url_ftell(pb); put_le16(pb, 0); /* length */ put_le16(pb, sc->media_info);