Mercurial > libavformat.hg
comparison ogg.c @ 1120:801d4a5cf353 libavformat
free codec extradata in av_close_input_file
author | mru |
---|---|
date | Fri, 16 Jun 2006 07:54:37 +0000 |
parents | d70e50f1495f |
children | d89d7ef290da |
comparison
equal
deleted
inserted
replaced
1119:6ea3cf7eaba9 | 1120:801d4a5cf353 |
---|---|
247 static int ogg_read_close(AVFormatContext *avfcontext) { | 247 static int ogg_read_close(AVFormatContext *avfcontext) { |
248 OggContext *context = avfcontext->priv_data ; | 248 OggContext *context = avfcontext->priv_data ; |
249 | 249 |
250 ogg_stream_clear(&context->os) ; | 250 ogg_stream_clear(&context->os) ; |
251 ogg_sync_clear(&context->oy) ; | 251 ogg_sync_clear(&context->oy) ; |
252 av_freep(&avfcontext->streams[0]->codec.extradata); | |
253 | 252 |
254 return 0 ; | 253 return 0 ; |
255 } | 254 } |
256 | 255 |
257 | 256 |