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

Function avcodec_decode_subtitle2

libavcodec/utils.c:679–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677#endif
678
679int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub,
680 int *got_sub_ptr,
681 AVPacket *avpkt)
682{
683 int ret;
684
685 *got_sub_ptr = 0;
686 ret = avctx->codec->decode(avctx, sub, got_sub_ptr, avpkt);
687 if (*got_sub_ptr)
688 avctx->frame_number++;
689 return ret;
690}
691
692av_cold int avcodec_close(AVCodecContext *avctx)
693{

Callers 3

output_packetFunction · 0.85
subtitle_threadFunction · 0.85
avcodec_decode_subtitleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected