summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMark Hills <mark@pogo.org.uk>2003-02-25 09:36:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-02-25 09:36:53 +0000
commita28fbb3fc88f9b12be31e173e0753a0f3205270d (patch)
tree225045e94e18765974f3df7935712560a715c9bf /libavformat
parentae39132d070bcb7f69caa5ca7808a205336e54c0 (diff)
ogg deallocate patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 1604 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/ogg.c5
1 files changed, 4 insertions, 1 deletions
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 ;