MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_decode_get_extradata

Function ff_decode_get_extradata

libavcodec/decode_bsf.h:32–40  ·  view source on GitHub ↗

* Helper function for decoders that may use a BSF that changes extradata. * This function will get the extradata from the BSF. */

Source from the content-addressed store, hash-verified

30 * This function will get the extradata from the BSF.
31 */
32static inline void ff_decode_get_extradata(const AVCodecContext *avctx,
33 const uint8_t **extradata,
34 int *extradata_size)
35{
36 // Given that we unconditionally insert a null BSF when no BSF is
37 // explicitly requested, we can just use the BSF's par_out here.
38 *extradata = avctx->internal->bsf->par_out->extradata;
39 *extradata_size = avctx->internal->bsf->par_out->extradata_size;
40}
41
42#endif /* AVCODEC_DECODE_BSF_H */

Callers 2

amf_init_decoderFunction · 0.85
rkmpp_send_packetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected