It's been a wrapper for a simple av_bsf_free() call since c96904f525.
Showing the changes to libavcodec/decode.h (1 of 3 files). Show all
Unified · Split
| @@ -64,10 +64,12 @@ typedef struct FrameDecodeData { · 63 unmodified lines | |||
| 64 | */ | 64 | */ |
| 65 | int ff_decode_get_packet(AVCodecContext *avctx, AVPacket *pkt); | 65 | int ff_decode_get_packet(AVCodecContext *avctx, AVPacket *pkt); |
| 66 | 66 | ||
| 67 | /** | ||
| 68 | * Called during avcodec_open2() to initialize avctx->internal->bsf. | ||
| 69 | * The bsf should be freed with av_bsf_free(). | ||
| 70 | */ | ||
| 67 | int ff_decode_bsfs_init(AVCodecContext *avctx); | 71 | int ff_decode_bsfs_init(AVCodecContext *avctx); |
| 68 | 72 | ||
| 69 | void ff_decode_bsfs_uninit(AVCodecContext *avctx); | ||
| 70 | |||
| 71 | /** | 73 | /** |
| 72 | * Make sure avctx.hw_frames_ctx is set. If it's not set, the function will | 74 | * Make sure avctx.hw_frames_ctx is set. If it's not set, the function will |
| 73 | * try to allocate it from hw_device_ctx. If that is not possible, an error | 75 | * try to allocate it from hw_device_ctx. If that is not possible, an error |