mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
lavc: add support for filtering packets before decoding
This commit is contained in:
parent
061a0c14bb
commit
972c71e9cb
6 changed files with 169 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue