X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fdecode.h;h=5565346f9623dff5c41d1b6718183df00a4034b1;hb=1ab3ae6fd5b1866aa42cfc0c5d79700adb7281d8;hp=c3e0e82f4cdacc36c4bdd124022349c62b2b74ea;hpb=c0a647644f2703e1da980dcf988cefd81528d8c9;p=ffmpeg diff --git a/libavcodec/decode.h b/libavcodec/decode.h index c3e0e82f4cd..5565346f962 100644 --- a/libavcodec/decode.h +++ b/libavcodec/decode.h @@ -64,10 +64,12 @@ typedef struct FrameDecodeData { */ int ff_decode_get_packet(AVCodecContext *avctx, AVPacket *pkt); +/** + * Called during avcodec_open2() to initialize avctx->internal->bsf. + * The bsf should be freed with av_bsf_free(). + */ int ff_decode_bsfs_init(AVCodecContext *avctx); -void ff_decode_bsfs_uninit(AVCodecContext *avctx); - /** * Make sure avctx.hw_frames_ctx is set. If it's not set, the function will * try to allocate it from hw_device_ctx. If that is not possible, an error