mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-15 03:20:00 +01:00
lavc: add support for filtering packets before decoding
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include "libavutil/samplefmt.h"
|
||||
#include "libavutil/dict.h"
|
||||
#include "avcodec.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "me_cmp.h"
|
||||
#include "mpegvideo.h"
|
||||
@@ -789,6 +790,8 @@ av_cold int avcodec_close(AVCodecContext *avctx)
|
||||
avctx->hwaccel->uninit(avctx);
|
||||
av_freep(&avctx->internal->hwaccel_priv_data);
|
||||
|
||||
ff_decode_bsfs_uninit(avctx);
|
||||
|
||||
av_freep(&avctx->internal);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user