add a close function to bitstream filter
Originally committed as revision 10288 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -43,6 +43,8 @@ AVBitStreamFilterContext *av_bitstream_filter_init(const char *name){
|
||||
}
|
||||
|
||||
void av_bitstream_filter_close(AVBitStreamFilterContext *bsfc){
|
||||
if(bsfc->filter->close)
|
||||
bsfc->filter->close(bsfc);
|
||||
av_freep(&bsfc->priv_data);
|
||||
av_parser_close(bsfc->parser);
|
||||
av_free(bsfc);
|
||||
|
||||
Reference in New Issue
Block a user