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

Function avcodec_decode_subtitle

libavcodec/utils.c:666–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664
665#if LIBAVCODEC_VERSION_MAJOR < 53
666int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub,
667 int *got_sub_ptr,
668 const uint8_t *buf, int buf_size)
669{
670 AVPacket avpkt;
671 av_init_packet(&avpkt);
672 avpkt.data = buf;
673 avpkt.size = buf_size;
674
675 return avcodec_decode_subtitle2(avctx, sub, got_sub_ptr, &avpkt);
676}
677#endif
678
679int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,

Callers

nothing calls this directly

Calls 2

av_init_packetFunction · 0.85
avcodec_decode_subtitle2Function · 0.85

Tested by

no test coverage detected