From a28fbb3fc88f9b12be31e173e0753a0f3205270d Mon Sep 17 00:00:00 2001 From: Mark Hills Date: Tue, 25 Feb 2003 09:36:53 +0000 Subject: [PATCH] ogg deallocate patch by (Mark Hills ) Originally committed as revision 1604 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/ogg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/ogg.c b/libavformat/ogg.c index 8997c18a4f..6b49b8e1ea 100644 --- a/libavformat/ogg.c +++ b/libavformat/ogg.c @@ -72,8 +72,11 @@ static int ogg_write_header(AVFormatContext *avfcontext) ogg_stream_packetin(&context->os, &header_comm) ; ogg_stream_packetin(&context->os, &header_code) ; + vorbis_block_clear(&vb) ; + vorbis_dsp_clear(&vd) ; + vorbis_info_clear(&vi) ; vorbis_comment_clear(&vc) ; - + /* end of vorbis specific code */ context->header_handled = 0 ;